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 ~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:
  • Sources/FreeCAD/src/Mod/Mesh/App/Core/Segmentation.h
  • Sources/FreeCAD/src/Mod/Mesh/App/Core/Segmentation.cpp