#include <WEMFaceCut.h>
Public Member Functions | |
| WEMFaceCut () | |
| Standard constructor. | |
| ~WEMFaceCut () | |
| Standard destructor. | |
| void | clear () |
| Clear function. | |
| int | getType () const |
| Get type. | |
| Vector3 | getEntryPosition () const |
| Get entry position. | |
| Vector3 | getExitPosition () const |
| Get exit position. | |
| int | getEntryEdgeIndex () const |
| Get entry edge index. | |
| int | getExitEdgeIndex () const |
| Get exit edge index. | |
| int | getEntryFaceIndex () const |
| Get entry face index. | |
| int | getExitFaceIndex () const |
| Get exit face index. | |
| bool | isTraversed () const |
| Is faceCut traversed. | |
| bool | isValid () const |
| Is faceCut valid. | |
| bool | isContinuable (int edgeIndex, int degenerateEdgeIndex) const |
| Can the face cut be continued? | |
| bool | isContinuable (Vector3 position) const |
| Can the face cut (stab) be continued? | |
| bool | isStabClosed (Vector3 position) const |
| Is stab closed? | |
| void | setType (int type) |
| Set type. | |
| void | checkSameEdge () |
| Update type to SAME_EDGE if entry and exit edge are the same. | |
| void | setEntry (Vector3 position, int edgeIndex, int faceIndex) |
| Set entry. | |
| void | setExit (Vector3 position, int edgeIndex, int faceIndex) |
| Set exit. | |
| void | addIntermediatePoint (Vector3 position, int entryNumber, int degenerateEntryNumber) |
| Adds a new intermediate point. | |
| void | setTraversed (bool traversed) |
| Set traversed flag. | |
| void | setValid (bool valid) |
| Set valid flag. | |
Public Attributes | |
| std::vector< Vector3 > | intermediatePoints |
| Intermediate points. | |
| std::vector< int > | intermediateEdgeEntryNumbers |
| Intermediate edge entry numbers. | |
| std::vector< int > | intermediateDegenerateEdgeEntryNumbers |
| Intermediate degenerate edge entry numbers. | |
Definition at line 30 of file WEMFaceCut.h.
| ml::WEMFaceCut::WEMFaceCut | ( | ) |
Standard constructor.
| ml::WEMFaceCut::~WEMFaceCut | ( | ) |
Standard destructor.
| void ml::WEMFaceCut::addIntermediatePoint | ( | Vector3 | position, | |
| int | entryNumber, | |||
| int | degenerateEntryNumber | |||
| ) |
Adds a new intermediate point.
| void ml::WEMFaceCut::checkSameEdge | ( | ) |
Update type to SAME_EDGE if entry and exit edge are the same.
| void ml::WEMFaceCut::clear | ( | ) |
Clear function.
| int ml::WEMFaceCut::getEntryEdgeIndex | ( | ) | const [inline] |
| int ml::WEMFaceCut::getEntryFaceIndex | ( | ) | const [inline] |
| Vector3 ml::WEMFaceCut::getEntryPosition | ( | ) | const [inline] |
| int ml::WEMFaceCut::getExitEdgeIndex | ( | ) | const [inline] |
| int ml::WEMFaceCut::getExitFaceIndex | ( | ) | const [inline] |
| Vector3 ml::WEMFaceCut::getExitPosition | ( | ) | const [inline] |
| int ml::WEMFaceCut::getType | ( | ) | const [inline] |
| bool ml::WEMFaceCut::isContinuable | ( | Vector3 | position | ) | const |
Can the face cut (stab) be continued?
| bool ml::WEMFaceCut::isContinuable | ( | int | edgeIndex, | |
| int | degenerateEdgeIndex | |||
| ) | const |
Can the face cut be continued?
| bool ml::WEMFaceCut::isStabClosed | ( | Vector3 | position | ) | const |
Is stab closed?
| bool ml::WEMFaceCut::isTraversed | ( | ) | const [inline] |
| bool ml::WEMFaceCut::isValid | ( | void | ) | const [inline] |
| void ml::WEMFaceCut::setEntry | ( | Vector3 | position, | |
| int | edgeIndex, | |||
| int | faceIndex | |||
| ) |
Set entry.
| void ml::WEMFaceCut::setExit | ( | Vector3 | position, | |
| int | edgeIndex, | |||
| int | faceIndex | |||
| ) |
Set exit.
| void ml::WEMFaceCut::setTraversed | ( | bool | traversed | ) | [inline] |
| void ml::WEMFaceCut::setType | ( | int | type | ) | [inline] |
| void ml::WEMFaceCut::setValid | ( | bool | valid | ) | [inline] |
| std::vector<int> ml::WEMFaceCut::intermediateDegenerateEdgeEntryNumbers |
| std::vector<int> ml::WEMFaceCut::intermediateEdgeEntryNumbers |
| std::vector<Vector3> ml::WEMFaceCut::intermediatePoints |
1.5.8