Face boundary is discretized so that each its segment to correspond to an edge of MA. More...
#include <SMESH_MAT2d.hxx>
Public Member Functions | |
Boundary (std::size_t nbEdges) | |
bool | getBranchPoint (const BoundaryPoint &bp, BranchPoint &p) const |
Returns a BranchPoint corresponding to a given BoundaryPoint on a geom EDGE. More... | |
bool | getBranchPoint (const std::size_t iEdge, double u, BranchPoint &p) const |
Returns a BranchPoint corresponding to a given point on a geom EDGE. More... | |
bool | getPoint (std::size_t iEdge, std::size_t iSeg, double u, BoundaryPoint &bp) const |
Returns a boundary point on a given EDGE. More... | |
BndPoints & | getPoints (std::size_t iEdge) |
bool | isConcaveSegment (std::size_t iEdge, std::size_t iSeg) const |
Check if a given boundary segment is a null-length segment on a concave boundary corner. More... | |
bool | moveToClosestEdgeEnd (BoundaryPoint &bp) const |
Moves (changes _param) a given BoundaryPoint to a closest EDGE end. More... | |
std::size_t | nbEdges () const |
Face boundary is discretized so that each its segment to correspond to an edge of MA.
SMESH_MAT2d::Boundary::Boundary | ( | std::size_t | nbEdges | ) |
bool SMESH_MAT2d::Boundary::getBranchPoint | ( | const BoundaryPoint & | bp, |
BranchPoint & | p | ||
) | const |
Returns a BranchPoint corresponding to a given BoundaryPoint on a geom EDGE.
[in] | bp | - the BoundaryPoint |
[out] | p | - the found BranchPoint |
bool SMESH_MAT2d::Boundary::getBranchPoint | ( | const std::size_t | iEdge, |
double | u, | ||
BranchPoint & | p | ||
) | const |
Returns a BranchPoint corresponding to a given point on a geom EDGE.
[in] | iEdge | - index of geom EDGE within a vector passed at MA construction |
[in] | u | - parameter of the point on EDGE curve |
[out] | p | - the found BranchPoint |
bool SMESH_MAT2d::Boundary::getPoint | ( | std::size_t | iEdge, |
std::size_t | iSeg, | ||
double | u, | ||
BoundaryPoint & | bp | ||
) | const |
Returns a boundary point on a given EDGE.
[in] | iEdge | - index of the EDGE within MedialAxis |
[in] | iSeg | - index of a boundary segment within this Branch |
[in] | u | - [0;1] normalized param within iSeg-th segment |
[out] | bp | - the found BoundaryPoint |
Referenced by ArchStructure.CommandStructuralSystem::Activated(), PathScripts.PathOpGui.TaskPanelBaseLocationPage::addLocation(), PathScripts.PathDressupTagGui.PathDressupTagTaskPanel::addNewTag(), PathScripts.PathOpGui.TaskPanelBaseLocationPage::editLocation(), PathScripts.PathDressupTagGui.PathDressupTagTaskPanel::editTag(), draftguitools.gui_arcs.Arc_3Points::getPoint(), ArchCurtainWall.CommandArchCurtainWall::getPoint(), ArchTruss.CommandArchTruss::getPoint(), PathScripts.PathDressupTagGui.PathDressupTagTaskPanel::modifyStandardButtons(), and PathScripts.PathOpGui.TaskPanelBaseLocationPage::modifyStandardButtons().
BndPoints & SMESH_MAT2d::Boundary::getPoints | ( | std::size_t | iEdge | ) |
bool SMESH_MAT2d::Boundary::isConcaveSegment | ( | std::size_t | iEdge, |
std::size_t | iSeg | ||
) | const |
Check if a given boundary segment is a null-length segment on a concave boundary corner.
[in] | iEdge | - index of a geom EDGE |
[in] | iSeg | - index of a boundary segment |
bool SMESH_MAT2d::Boundary::moveToClosestEdgeEnd | ( | BoundaryPoint & | bp | ) | const |
Moves (changes _param) a given BoundaryPoint to a closest EDGE end.
std::size_t SMESH_MAT2d::Boundary::nbEdges | ( | ) | const |