WEM Tool Classes
In the WEMTools directory, some classes can be found that may prove useful for developing own algorithms. These are:
- Diagnosis:
- WEMNodeOp: provides smoothing (geometric and normal smoothing).
- WEMEdgeOp: provides methods for splitting, collapsing and swapping edges.
- WEMFaceOp: provides methods for smoothing face normals and for cutting faces (intersection handling).
- WEMGeometry: provides a method for determining if a position is inside a certain WEMPatch, as well as helper methods for that task.
- Graph Algorithms:
- WEMConnectedComponent: collects all nodes of a connected component by some stopping criteria, and return a list of the collected nodes.
- WEMShortestPath: computes the shortest path in a WEM by applying Dijkstra's algorithm, and returns a path list of nodes.