com.bulletphysics.linearmath
Class GeometryUtil

java.lang.Object
  extended by com.bulletphysics.linearmath.GeometryUtil

public class GeometryUtil
extends java.lang.Object


Constructor Summary
GeometryUtil()
           
 
Method Summary
static boolean areVerticesBehindPlane(javax.vecmath.Vector4f planeNormal, java.util.List<javax.vecmath.Vector3f> vertices, float margin)
           
static void getPlaneEquationsFromVertices(java.util.List<javax.vecmath.Vector3f> vertices, java.util.List<javax.vecmath.Vector4f> planeEquationsOut)
           
static void getVerticesFromPlaneEquations(java.util.List<javax.vecmath.Vector4f> planeEquations, java.util.List<javax.vecmath.Vector3f> verticesOut)
           
static boolean isPointInsidePlanes(java.util.List<javax.vecmath.Vector4f> planeEquations, javax.vecmath.Vector3f point, float margin)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeometryUtil

public GeometryUtil()
Method Detail

isPointInsidePlanes

public static boolean isPointInsidePlanes(java.util.List<javax.vecmath.Vector4f> planeEquations,
                                          javax.vecmath.Vector3f point,
                                          float margin)

areVerticesBehindPlane

public static boolean areVerticesBehindPlane(javax.vecmath.Vector4f planeNormal,
                                             java.util.List<javax.vecmath.Vector3f> vertices,
                                             float margin)

getPlaneEquationsFromVertices

public static void getPlaneEquationsFromVertices(java.util.List<javax.vecmath.Vector3f> vertices,
                                                 java.util.List<javax.vecmath.Vector4f> planeEquationsOut)

getVerticesFromPlaneEquations

public static void getVerticesFromPlaneEquations(java.util.List<javax.vecmath.Vector4f> planeEquations,
                                                 java.util.List<javax.vecmath.Vector3f> verticesOut)