MeshCore::CylinderSurfaceFit Class Reference

#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 ()
 

Constructor & Destructor Documentation

◆ CylinderSurfaceFit() [1/2]

CylinderSurfaceFit::CylinderSurfaceFit ( )

◆ CylinderSurfaceFit() [2/2]

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::~CylinderSurfaceFit ( )

Member Function Documentation

◆ AddTriangle()

void CylinderSurfaceFit::AddTriangle ( const MeshGeomFacet tria)
virtual

◆ Done()

bool CylinderSurfaceFit::Done ( ) const
virtual

◆ Fit()

◆ GetDistanceToSurface()

float CylinderSurfaceFit::GetDistanceToSurface ( const Base::Vector3f pnt) const
virtual

◆ GetType()

const char * MeshCore::CylinderSurfaceFit::GetType ( void  ) const
virtual

◆ Initialize()

void CylinderSurfaceFit::Initialize ( const MeshGeomFacet tria)
virtual

◆ Parameters()

◆ TestTriangle()

bool CylinderSurfaceFit::TestTriangle ( const MeshGeomFacet tria) const
virtual

The documentation for this class was generated from the following files: