public class MinMeshBuilder<X extends Jcg.geometry.Point_>
extends java.lang.Object
Constructor and Description |
---|
MinMeshBuilder() |
Modifier and Type | Method and Description |
---|---|
MinPolyhedron_3<X> |
createMesh(java.lang.String filename)
Memory efficient construction of a Polyhedron (Half-edge DS) for a triangle mesh (no use of a share vertex representation).
|
MinPolyhedron_3<X> |
createMesh(X[] points,
int[] faceDegrees,
int[][] faces)
Efficient construction of a Polyhedron (Half-edge DS) for a triangle mesh (from a share vertex representation)
Warning: old version, it works only for triangle meshes
|
static void |
getMemoryUsage() |
static Jcg.geometry.Point_2[] |
Point3DToPoint2D(Jcg.geometry.Point_3[] points)
Convert an array of 3D points to an array of 2D points (by orthogonal projection on the z=0 hyperplane)
|
public MinPolyhedron_3<X> createMesh(X[] points, int[] faceDegrees, int[][] faces)
public MinPolyhedron_3<X> createMesh(java.lang.String filename)
public static Jcg.geometry.Point_2[] Point3DToPoint2D(Jcg.geometry.Point_3[] points)
public static void getMemoryUsage()