#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 | ( | ) |
References Base::Vector3< _Precision >::Set().
◆ 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()
|
virtual |
Implements MeshCore::AbstractSurfaceFit.
References MeshCore::Approximation::AddPoint().
◆ Done()
|
virtual |
Implements MeshCore::AbstractSurfaceFit.
References MeshCore::Approximation::Done().
◆ Fit()
|
virtual |
◆ GetDistanceToSurface()
|
virtual |
Implements MeshCore::AbstractSurfaceFit.
References DraftVecUtils::dist(), Base::Vector3< _Precision >::DistanceToLine(), and MeshCore::Approximation::Done().
◆ GetType()
|
virtual |
Implements MeshCore::AbstractSurfaceFit.
◆ Initialize()
|
virtual |
Implements MeshCore::AbstractSurfaceFit.
References MeshCore::Approximation::AddPoint(), and MeshCore::Approximation::Clear().
◆ Parameters()
|
virtual |
◆ TestTriangle()
|
virtual |
Implements MeshCore::AbstractSurfaceFit.
References Base::Vector3< _Precision >::Dot(), and MeshCore::MeshGeomFacet::GetNormal().
The documentation for this class was generated from the following files:
- src/Mod/Mesh/App/Core/Segmentation.h
- src/Mod/Mesh/App/Core/Segmentation.cpp