edu.jhu.ece.iacl.algorithms.hardi
Class SurfaceTools

java.lang.Object
  extended by edu.jhu.ece.iacl.algorithms.hardi.SurfaceTools

public class SurfaceTools
extends java.lang.Object


Constructor Summary
SurfaceTools()
           
 
Method Summary
static ModelTriangleMesh cube()
           
static ModelTriangleMesh dodecahedron()
           
static ModelTriangleMesh normalizeToSphere(ModelTriangleMesh input, float r)
           
static ModelTriangleMesh octahedron()
           
static EmbeddedSurface quickHull3D(Point3f[] pts)
           
static EmbeddedSurface selectUniqueDirectionsAndReflections(EmbeddedSurface surface, double tolerance)
           
static ModelTriangleMesh tesselate(ModelTriangleMesh input, int order)
           
static void tesselateTriangle(java.util.Vector<Point3f> pts, java.util.Vector<java.lang.Integer> connect, int tri, int order)
           
static ModelTriangleMesh tetrahedron()
           
static ModelTriangleMesh triangulate(Point3f[] pts, int[][] connect)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SurfaceTools

public SurfaceTools()
Method Detail

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)