#include <Segmentation.h>
Public Member Functions | |
void | AddTriangle (const MeshGeomFacet &) |
bool | Done () const |
float | Fit () |
float | GetDistanceToSurface (const Base::Vector3f &) const |
const char * | GetType () const |
void | Initialize (const MeshGeomFacet &) |
std::vector< float > | Parameters () const |
SphereSurfaceFit () | |
SphereSurfaceFit (const Base::Vector3f &c, float r) | |
bool | TestTriangle (const MeshGeomFacet &) const |
~SphereSurfaceFit () | |
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 () |
SphereSurfaceFit::SphereSurfaceFit | ( | ) |
References Base::Vector3< _Precision >::Set().
SphereSurfaceFit::SphereSurfaceFit | ( | const Base::Vector3f & | c, |
float | r | ||
) |
SphereSurfaceFit::~SphereSurfaceFit | ( | ) |
|
virtual |
Implements MeshCore::AbstractSurfaceFit.
References MeshCore::Approximation::AddPoint().
|
virtual |
Implements MeshCore::AbstractSurfaceFit.
References MeshCore::Approximation::Done().
|
virtual |
Implements MeshCore::AbstractSurfaceFit.
References MeshCore::SphereFit::Fit(), MeshCore::SphereFit::GetCenter(), and MeshCore::SphereFit::GetRadius().
|
virtual |
Implements MeshCore::AbstractSurfaceFit.
References DraftVecUtils::dist(), and Base::Distance().
|
virtual |
Implements MeshCore::AbstractSurfaceFit.
|
virtual |
Implements MeshCore::AbstractSurfaceFit.
References MeshCore::Approximation::AddPoint(), and MeshCore::Approximation::Clear().
|
virtual |
Implements MeshCore::AbstractSurfaceFit.
References MeshCore::SphereFit::GetCenter(), and MeshCore::SphereFit::GetRadius().
|
virtual |
Implements MeshCore::AbstractSurfaceFit.