public class MeshBuilder<X extends Point_>
extends java.lang.Object
Constructor and Description |
---|
MeshBuilder() |
Modifier and Type | Method and Description |
---|---|
Polyhedron_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 Point_2[] |
Point3DToPoint2D(Point_3[] points)
Convert an array of 3D points to an array of 2D points (by orthogonal projection on the z=0 hyperplane)
|
public Polyhedron_3<X> createMesh(X[] points, int[] faceDegrees, int[][] faces)