com.bulletphysics.linearmath
Class GeometryUtil

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

public class GeometryUtil
extends Object

Geometry utility functions for operations with point clouds.


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

Constructor Detail

GeometryUtil

public GeometryUtil()
Method Detail

isPointInsidePlanes

public static boolean isPointInsidePlanes(List<Vector4f> planeEquations,
                                          Vector3f point,
                                          float margin)

areVerticesBehindPlane

public static boolean areVerticesBehindPlane(Vector4f planeNormal,
                                             List<Vector3f> vertices,
                                             float margin)

getPlaneEquationsFromVertices

public static void getPlaneEquationsFromVertices(List<Vector3f> vertices,
                                                 List<Vector4f> planeEquationsOut)

getVerticesFromPlaneEquations

public static void getVerticesFromPlaneEquations(List<Vector4f> planeEquations,
                                                 List<Vector3f> verticesOut)