A ConstraintSegment2 represents a Constraint Edge.
More...
#include <ConstraintSegment2.h>
|
class | ConstraintGraph2 |
|
class | ConstraintMgr |
|
std::ostream & | operator<< (std::ostream &stream, const ConstraintSegment2 &cSeg) |
|
A ConstraintSegment2 can belong to more than one ConstraintGraph2 object, thus it is unoriented. But the ConstraintGraph knows the orientation of its ConstraintSegment2's.
◆ getCIS()
- Returns
- the constraint insertion strategy (CIS) of the present object
◆ getSrc()
Point2* GEOM_FADE2D::ConstraintSegment2::getSrc |
( |
| ) |
const |
◆ getTrg()
Point2* GEOM_FADE2D::ConstraintSegment2::getTrg |
( |
| ) |
const |
◆ insertAndSplit()
Point2* GEOM_FADE2D::ConstraintSegment2::insertAndSplit |
( |
const Point2 & |
splitPoint | ) |
|
Splits the ConstraintSegment2 (which must be alive) at splitPoint
.
It may be impossible to represent a point on a certain line segment using floatingpoint arithmetic. Therefore it is highly recommended to split a ConstraintSegment2 object not just be inserting points into the triangulation but using the present method. It does not require that splitPoint
is exactly on the segment.
- Note
- A splitted ConstraintSegment2 is dead and it has two child segments (which may also be dead and have children). The class is organized as a binary tree.
◆ isAlive()
bool GEOM_FADE2D::ConstraintSegment2::isAlive |
( |
| ) |
const |
- Returns
- TRUE when the object is alive, FALSE otherwise
◆ split_combinatorialOnly()
bool GEOM_FADE2D::ConstraintSegment2::split_combinatorialOnly |
( |
Point2 * |
pSplit | ) |
|
internal use only (unless you do something very unusual)
The documentation for this class was generated from the following file: