#include <WEMEdgeOp.h>
Public Member Functions | |
| WEMEdgeOp () | |
| Standard constructor. | |
| ~WEMEdgeOp () | |
| Standard destructor. | |
Static Public Member Functions | |
| static bool | checkSwap (WEMTrianglePatch *triPatch, WEMEdge *edge, void *heap=NULL, float maxDihedralAngleNeigh=0.99999331899f) |
| Checks if the given edge of the triangle patch can be swapped. | |
| static bool | performSwap (WEMTrianglePatch *triPatch, WEMEdge *edge, void *heap=NULL, float maxDihedralAngleNeigh=0.99999331899f) |
| Performs a swapping of the edge in a triangle patch. Returns if a swapping was performed. | |
| static bool | checkSplit (WEMTrianglePatch *triPatch, WEMEdge *edge, void *heap=NULL, float maxEdgeLength=1.0f) |
| Checks if the given edge of the triangle patch can be split. | |
| static WEMNode * | performSplit (WEMTrianglePatch *triPatch, WEMEdge *edge, void *heap=NULL, float maxEdgeLength=1.0f) |
| Performs a splitting of the edge in a triangle patch. Returns the node which has been inserted. | |
| static bool | checkCollapse (WEMTrianglePatch *triPatch, WEMEdge *edge, void *heap=NULL, float maxDihedralAngleNeigh=0.99999331899f) |
| Checks if the given edge in the triangle patch can be collapsed. | |
| static WEMNode * | performCollapse (WEMTrianglePatch *triPatch, WEMEdge *edge, void *heap=NULL, float maxDihedralAngleNeigh=0.99999331899f) |
| Performs a collapsing of the given edge in a triangle patch. | |
| static void | deleteTetrahedron (WEMTrianglePatch *triPatch, WEMNode *node, void *heap=NULL) |
| Deletes a tetrahedron constellation, where the given node is one part of. | |
| static bool | deleteNodeWithValenceThree (WEMTrianglePatch *triPatch, WEMNode *node, void *heap=NULL, float maxDihedralAngleNeigh=0.99999331899f) |
| Deletes a node with a valence of 3. Returns if the operation was successful. | |
All methods accept an optional pointer to an edge-heap which can be maintained by the method.
Definition at line 29 of file WEMEdgeOp.h.
| ml::WEMEdgeOp::WEMEdgeOp | ( | ) |
Standard constructor.
| ml::WEMEdgeOp::~WEMEdgeOp | ( | ) |
Standard destructor.
| static bool ml::WEMEdgeOp::checkCollapse | ( | WEMTrianglePatch * | triPatch, | |
| WEMEdge * | edge, | |||
| void * | heap = NULL, |
|||
| float | maxDihedralAngleNeigh = 0.99999331899f | |||
| ) | [static] |
Checks if the given edge in the triangle patch can be collapsed.
An optional maximum dihedral angle for the neighboring faces can be given. Default for this is 12 degrees.
| static bool ml::WEMEdgeOp::checkSplit | ( | WEMTrianglePatch * | triPatch, | |
| WEMEdge * | edge, | |||
| void * | heap = NULL, |
|||
| float | maxEdgeLength = 1.0f | |||
| ) | [static] |
Checks if the given edge of the triangle patch can be split.
| static bool ml::WEMEdgeOp::checkSwap | ( | WEMTrianglePatch * | triPatch, | |
| WEMEdge * | edge, | |||
| void * | heap = NULL, |
|||
| float | maxDihedralAngleNeigh = 0.99999331899f | |||
| ) | [static] |
Checks if the given edge of the triangle patch can be swapped.
| static bool ml::WEMEdgeOp::deleteNodeWithValenceThree | ( | WEMTrianglePatch * | triPatch, | |
| WEMNode * | node, | |||
| void * | heap = NULL, |
|||
| float | maxDihedralAngleNeigh = 0.99999331899f | |||
| ) | [static] |
Deletes a node with a valence of 3. Returns if the operation was successful.
| static void ml::WEMEdgeOp::deleteTetrahedron | ( | WEMTrianglePatch * | triPatch, | |
| WEMNode * | node, | |||
| void * | heap = NULL | |||
| ) | [static] |
Deletes a tetrahedron constellation, where the given node is one part of.
| static WEMNode* ml::WEMEdgeOp::performCollapse | ( | WEMTrianglePatch * | triPatch, | |
| WEMEdge * | edge, | |||
| void * | heap = NULL, |
|||
| float | maxDihedralAngleNeigh = 0.99999331899f | |||
| ) | [static] |
Performs a collapsing of the given edge in a triangle patch.
| static WEMNode* ml::WEMEdgeOp::performSplit | ( | WEMTrianglePatch * | triPatch, | |
| WEMEdge * | edge, | |||
| void * | heap = NULL, |
|||
| float | maxEdgeLength = 1.0f | |||
| ) | [static] |
Performs a splitting of the edge in a triangle patch. Returns the node which has been inserted.
| static bool ml::WEMEdgeOp::performSwap | ( | WEMTrianglePatch * | triPatch, | |
| WEMEdge * | edge, | |||
| void * | heap = NULL, |
|||
| float | maxDihedralAngleNeigh = 0.99999331899f | |||
| ) | [static] |
Performs a swapping of the edge in a triangle patch. Returns if a swapping was performed.
1.5.8