public class MinSharedVertexRepresentation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.awt.Color[] |
edgesColors |
java.awt.Color[] |
faceColors |
int[] |
faceDegrees |
int[][] |
faces |
Jcg.geometry.Point_3[] |
points |
int |
sizeFaces |
int |
sizeHalfedges |
int |
sizeVertices |
Constructor and Description |
---|
MinSharedVertexRepresentation(java.util.Collection<Jcg.geometry.Triangle_3> faces)
Create a shared vertex representation from a collection of 3D triangles
|
MinSharedVertexRepresentation(int n,
int f,
int he,
int[][] faces,
int[] faceDegrees,
Jcg.geometry.Point_3[] points)
Create a shared vertex representation
|
MinSharedVertexRepresentation(MinPolyhedron_3<Jcg.geometry.Point_3> polyhedron)
Create a shared vertex representation from a polyhedron (half-edge data structure)
|
MinSharedVertexRepresentation(java.lang.String filename)
Create a mesh representation from an off file (no use of TC library)
|
Modifier and Type | Method and Description |
---|---|
void |
writeOffFile(java.lang.String filename)
Store the representation in OFF format
|
public int sizeVertices
public int sizeFaces
public int sizeHalfedges
public int[][] faces
public int[] faceDegrees
public Jcg.geometry.Point_3[] points
public java.awt.Color[] faceColors
public java.awt.Color[] edgesColors
public MinSharedVertexRepresentation(int n, int f, int he, int[][] faces, int[] faceDegrees, Jcg.geometry.Point_3[] points)
public MinSharedVertexRepresentation(java.util.Collection<Jcg.geometry.Triangle_3> faces)
public MinSharedVertexRepresentation(java.lang.String filename)
public MinSharedVertexRepresentation(MinPolyhedron_3<Jcg.geometry.Point_3> polyhedron)