public class ScarstOsBuilder
extends EfficientCompactMeshBuilder
This class provides functions for creating compact array based data structures for triangle meshes
Remark: this version is memory efficient and fast, making use of an array-based
implementation of the Half-edge data structure.
Remark: for an Halfedge e, 'e' is the original number (index) in the mesh
getEdgeIndex(e) is the (new) number of the edge, according to the Schnyder wood labeling of edges
In particular, for an edge of color c (0,1 or 2), incident to vertex i (0..n-1),
the number of e is : 3*i+c
- Author:
- Luca Castelli Aleardi