edu.jhu.ece.iacl.algorithms.hardi
Class SurfaceTools
java.lang.Object
edu.jhu.ece.iacl.algorithms.hardi.SurfaceTools
public class SurfaceTools
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SurfaceTools
public SurfaceTools()
triangulate
public static ModelTriangleMesh triangulate(Point3f[] pts,
int[][] connect)
tetrahedron
public static ModelTriangleMesh tetrahedron()
tesselate
public static ModelTriangleMesh tesselate(ModelTriangleMesh input,
int order)
tesselateTriangle
public static void tesselateTriangle(java.util.Vector<Point3f> pts,
java.util.Vector<java.lang.Integer> connect,
int tri,
int order)
cube
public static ModelTriangleMesh cube()
dodecahedron
public static ModelTriangleMesh dodecahedron()
normalizeToSphere
public static ModelTriangleMesh normalizeToSphere(ModelTriangleMesh input,
float r)
octahedron
public static ModelTriangleMesh octahedron()
selectUniqueDirectionsAndReflections
public static EmbeddedSurface selectUniqueDirectionsAndReflections(EmbeddedSurface surface,
double tolerance)
quickHull3D
public static EmbeddedSurface quickHull3D(Point3f[] pts)