#include <Segmentation.h>
Public Member Functions | |
void | AddTriangle (const MeshGeomFacet &) |
CylinderSurfaceFit () | |
CylinderSurfaceFit (const Base::Vector3f &b, const Base::Vector3f &a, float r) | |
CylinderSurfaceFit::CylinderSurfaceFit Set a predefined cylinder. Internal cylinder fits are not done, then. More... | |
bool | Done () const |
float | Fit () |
float | GetDistanceToSurface (const Base::Vector3f &) const |
const char * | GetType () const |
void | Initialize (const MeshGeomFacet &) |
std::vector< float > | Parameters () const |
bool | TestTriangle (const MeshGeomFacet &) const |
~CylinderSurfaceFit () | |
Public Member Functions inherited from MeshCore::AbstractSurfaceFit | |
AbstractSurfaceFit () | |
virtual void | AddTriangle (const MeshGeomFacet &)=0 |
virtual bool | Done () const =0 |
virtual float | Fit ()=0 |
virtual float | GetDistanceToSurface (const Base::Vector3f &) const =0 |
virtual const char * | GetType () const =0 |
virtual void | Initialize (const MeshGeomFacet &)=0 |
virtual std::vector< float > | Parameters () const =0 |
virtual bool | TestTriangle (const MeshGeomFacet &) const =0 |
virtual | ~AbstractSurfaceFit () |
CylinderSurfaceFit::CylinderSurfaceFit | ( | ) |
References Base::Vector3< _Precision >::Set().
CylinderSurfaceFit::CylinderSurfaceFit | ( | const Base::Vector3f & | b, |
const Base::Vector3f & | a, | ||
float | r | ||
) |
CylinderSurfaceFit::CylinderSurfaceFit Set a predefined cylinder. Internal cylinder fits are not done, then.
CylinderSurfaceFit::~CylinderSurfaceFit | ( | ) |
|
virtual |
Implements MeshCore::AbstractSurfaceFit.
References MeshCore::Approximation::AddPoint().
|
virtual |
Implements MeshCore::AbstractSurfaceFit.
References MeshCore::Approximation::Done().
|
virtual |
|
virtual |
Implements MeshCore::AbstractSurfaceFit.
References DraftVecUtils::dist(), Base::Vector3< _Precision >::DistanceToLine(), and MeshCore::Approximation::Done().
|
virtual |
Implements MeshCore::AbstractSurfaceFit.
|
virtual |
Implements MeshCore::AbstractSurfaceFit.
References MeshCore::Approximation::AddPoint(), and MeshCore::Approximation::Clear().
|
virtual |
|
virtual |
Implements MeshCore::AbstractSurfaceFit.
References Base::Vector3< _Precision >::Dot(), and MeshCore::MeshGeomFacet::GetNormal().