public class CornerTableBuilder
extends java.lang.Object
Constructor and Description |
---|
CornerTableBuilder() |
Modifier and Type | Method and Description |
---|---|
static CornerTable |
CornerTableFromSharedVertexRepresentation(Jcg.geometry.Point_[] points,
int[][] faces)
Deprecated.
This method is not memory efficient (it makes use of an intermediate Shared Vertex Represention).
|
static CornerTable |
CornerTableFromVertexTable(int n,
int[] V,
float[] coordF)
Construct an array based implementation of the Corner Table data structure.
|
static CornerTable |
createMeshEfficiently(java.lang.String filename,
boolean readCoordinates)
Memory efficient construction of the Corner Table representation for closed triangle meshes.
|
static void |
createOppositeTable(int[] V,
int[] O)
Given the input vertex table 'V', compute the 'opposite' corners and store them in table 'O'.
|
@Deprecated public static CornerTable CornerTableFromSharedVertexRepresentation(Jcg.geometry.Point_[] points, int[][] faces)
public static CornerTable CornerTableFromVertexTable(int n, int[] V, float[] coordF)
V
- Vertex Table: array of size 3*F storing, for each corner, the incident vertexpublic static void createOppositeTable(int[] V, int[] O)
V
- (input) Vertex table: array of size 3*F storing, for each corner, the incident vertexO
- (output) Opposite tablepublic static CornerTable createMeshEfficiently(java.lang.String filename, boolean readCoordinates)
readCoordinates
- if TRUE read and store the vertex coordinates