Medial axis (MA) is defined as the loci of centres of locally maximal balls inside 2D representation of a face. This class implements a piecewise approximation of MA.
More...
#include <SMESH_MAT2d.hxx>
Medial axis (MA) is defined as the loci of centres of locally maximal balls inside 2D representation of a face. This class implements a piecewise approximation of MA.
◆ MedialAxis()
SMESH_MAT2d::MedialAxis::MedialAxis |
( |
const TopoDS_Face & |
face, |
|
|
const std::vector< TopoDS_Edge > & |
edges, |
|
|
const double |
minSegLen, |
|
|
const bool |
ignoreCorners = false |
|
) |
| |
MedialAxis constructor.
- Parameters
-
[in] | face | - a face to create MA for |
[in] | edges | - edges of the face (possibly not all) on the order they encounter in the face boundary. |
[in] | minSegLen | - minimal length of a mesh segment used to discretize the edges. It is used to define precision of MA approximation |
◆ getBoundary()
const Boundary & SMESH_MAT2d::MedialAxis::getBoundary |
( |
| ) |
const |
◆ getBranch()
◆ getBranchPoints()
const std::vector< const BranchEnd * > & SMESH_MAT2d::MedialAxis::getBranchPoints |
( |
| ) |
const |
◆ getPoints()
void SMESH_MAT2d::MedialAxis::getPoints |
( |
const Branch * |
branch, |
|
|
std::vector< gp_XY > & |
points |
|
) |
| const |
◆ make3DCurve()
◆ nbBranches()
std::size_t SMESH_MAT2d::MedialAxis::nbBranches |
( |
| ) |
const |
The documentation for this class was generated from the following files:
- FreeCAD/src/3rdParty/salomesmesh/inc/SMESH_MAT2d.hxx
- FreeCAD/src/3rdParty/salomesmesh/src/StdMeshers/SMESH_MAT2d.cpp