|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bulletphysics.linearmath.GeometryUtil
public class GeometryUtil
GeometryUtil helper class provides a few methods to convert between plane equations and vertices.
Constructor Summary | |
---|---|
GeometryUtil()
|
Method Summary | |
---|---|
static boolean |
areVerticesBehindPlane(Vector4f planeNormal,
ObjectArrayList<Vector3f> vertices,
float margin)
|
static void |
getPlaneEquationsFromVertices(ObjectArrayList<Vector3f> vertices,
ObjectArrayList<Vector4f> planeEquationsOut)
|
static void |
getVerticesFromPlaneEquations(ObjectArrayList<Vector4f> planeEquations,
ObjectArrayList<Vector3f> verticesOut)
|
static boolean |
isPointInsidePlanes(ObjectArrayList<Vector4f> planeEquations,
Vector3f point,
float margin)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeometryUtil()
Method Detail |
---|
public static boolean isPointInsidePlanes(ObjectArrayList<Vector4f> planeEquations, Vector3f point, float margin)
public static boolean areVerticesBehindPlane(Vector4f planeNormal, ObjectArrayList<Vector3f> vertices, float margin)
public static void getPlaneEquationsFromVertices(ObjectArrayList<Vector3f> vertices, ObjectArrayList<Vector4f> planeEquationsOut)
public static void getVerticesFromPlaneEquations(ObjectArrayList<Vector4f> planeEquations, ObjectArrayList<Vector3f> verticesOut)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |