|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmali.spatial.bodies.Classifier
public final class Classifier
Classifiable things can be classified with respect to each other.
| Nested Class Summary | |
|---|---|
static class |
Classifier.Classification
|
static class |
Classifier.PlaneClassification
|
| Constructor Summary | |
|---|---|
Classifier()
|
|
| Method Summary | |
|---|---|
static Classifier.Classification |
classifyBoundsBounds(Bounds bounds1,
Bounds bounds2)
Classifies a two Bounds objects agains each others. |
static Classifier.Classification |
classifyBoxBounds(Box box1,
Bounds bounds)
Classifies a Box against a Bounds object. |
static Classifier.Classification |
classifyBoxBox(Box box1,
Box box2)
Classifies a Box against a Box. |
static Classifier.Classification |
classifyBoxBox(float lowerX1,
float lowerY1,
float lowerZ1,
float upperX1,
float upperY1,
float upperZ1,
float lowerX2,
float lowerY2,
float lowerZ2,
float upperX2,
float upperY2,
float upperZ2)
Classifies a Box against a Box. |
static Classifier.Classification |
classifyBoxBox(Tuple3f boxLower1,
Tuple3f boxUpper1,
Tuple3f boxLower2,
Tuple3f boxUpper2)
Classifies a Box against a Box. |
static Classifier.Classification |
classifyBoxPoint(Box box,
float px,
float py,
float pz)
Classifies a Point against a Box. |
static Classifier.Classification |
classifyBoxPoint(Box box,
Point3f point)
Classifies a Point against a Box. |
static Classifier.Classification |
classifyBoxPoint(float boxLowerX,
float boxLowerY,
float boxLowerZ,
float boxUpperX,
float boxUpperY,
float boxUpperZ,
float px,
float py,
float pz)
Classifies a Point against a Box. |
static Classifier.Classification |
classifyBoxPoint(Tuple3f boxLower,
Tuple3f boxUpper,
Point3f point)
Classifies a Point against a Box. |
static Classifier.Classification |
classifyBoxSphere(Box box,
Sphere sphere)
Classifies a Sphere against a Box. |
static Classifier.Classification |
classifyBoxSphere(float boxLowerX,
float boxLowerY,
float boxLowerZ,
float boxUpperX,
float boxUpperY,
float boxUpperZ,
float x,
float y,
float z,
float radius)
Classifies a Sphere against a Box. |
static Classifier.Classification |
classifyBoxSphere(Tuple3f boxLower,
Tuple3f boxUpper,
Tuple3f sphereCenter,
float radius)
Classifies a Sphere against a Box. |
static Classifier.Classification |
classifyFrustumBounds(Frustum frustum,
Bounds bounds)
Classifies a Frustum against a Bounds object. |
static Classifier.Classification |
classifyFrustumBox(Frustum frustum,
Box box)
Classifies a Box against a Frustum. |
static Classifier.Classification |
classifyFrustumBox(Frustum frustum,
float boxLowerX,
float boxLowerY,
float boxLowerZ,
float boxUpperX,
float boxUpperY,
float boxUpperZ)
Classifies a Box against a Frustum. |
static Classifier.Classification |
classifyFrustumBox(Frustum frustum,
Tuple3f boxLower,
Tuple3f boxUpper)
Classifies a Box against a Frustum. |
static Classifier.Classification |
classifyFrustumPoint(Frustum frustum,
float x,
float y,
float z)
Classifies a Point against a Frustum. |
static Classifier.Classification |
classifyFrustumPoint(Frustum frustum,
Point3f point)
Classifies a Point against a Frustum. |
static Classifier.Classification |
classifyFrustumSphere(Frustum frustum,
float x,
float y,
float z,
float radius)
Classifies a Sphere against a Frustum. |
static Classifier.Classification |
classifyFrustumSphere(Frustum frustum,
Sphere sphere)
Classifies a Sphere against a Frustum. |
static Classifier.Classification |
classifyFrustumSphere(Frustum frustum,
Tuple3f sphereCenter,
float radius)
Classifies a Sphere against a Frustum. |
static Classifier.PlaneClassification |
classifyPlaneBox(Plane plane,
Box box)
|
static Classifier.PlaneClassification |
classifyPlaneBox(Plane plane,
float boxLowerX,
float boxLowerY,
float boxLowerZ,
float boxUpperX,
float boxUpperY,
float boxUpperZ)
|
static Classifier.PlaneClassification |
classifyPlaneBox(Plane plane,
Tuple3f boxLower,
Tuple3f boxUpper)
|
static Classifier.PlaneClassification |
classifyPlanePoint(float planeNx,
float planeNy,
float planeNz,
float planeD,
float x,
float y,
float z)
Classifies a point with respect to the plane. |
static Classifier.PlaneClassification |
classifyPlanePoint(Plane plane,
float px,
float py,
float pz)
Classifies a point with respect to the plane. |
static Classifier.PlaneClassification |
classifyPlanePoint(Plane plane,
Tuple3f point)
Classifies a point with respect to the plane. |
static Classifier.PlaneClassification |
classifyPlanePoints(Plane plane,
Tuple3f[] points)
Classifies a collection of points with respect to the plane. |
static Classifier.Classification |
classifySphereBounds(Sphere sphere1,
Bounds bounds)
Classifies a Sphere against a Bounds object. |
static Classifier.Classification |
classifySphereBox(Sphere sphere,
Box box)
Classifies a Box against a Sphere. |
static Classifier.Classification |
classifySphereBox(Sphere sphere,
float boxLowerX,
float boxLowerY,
float boxLowerZ,
float boxUpperX,
float boxUpperY,
float boxUpperZ)
Classifies a Box against a Sphere. |
static Classifier.Classification |
classifySphereBox(Sphere sphere,
Tuple3f boxLower,
Tuple3f boxUpper)
Classifies a Box against a Sphere. |
static Classifier.PlaneClassification |
classifySpherePlane(Sphere sphere,
Plane plane)
Classify this sphere with respect to a plane |
static Classifier.Classification |
classifySpherePoint(float cx,
float cy,
float cz,
float r,
float px,
float py,
float pz)
Classifies a Point against a Sphere. |
static Classifier.Classification |
classifySpherePoint(Sphere sphere,
float px,
float py,
float pz)
Classifies a Point against a Sphere. |
static Classifier.Classification |
classifySpherePoint(Sphere sphere,
Point3f point)
Classifies a Point against a Sphere. |
static Classifier.Classification |
classifySpherePoint(Tuple3f sphereC,
float sphereR,
float px,
float py,
float pz)
Classifies a Point against a Sphere. |
static Classifier.Classification |
classifySpherePoint(Tuple3f sphereC,
float sphereR,
Point3f point)
Classifies a Point against a Sphere. |
static Classifier.Classification |
classifySphereSphere(float cx1,
float cy1,
float cz1,
float r1,
float cx2,
float cy2,
float cz2,
float r2)
Classifies a Sphere against a Sphere. |
static Classifier.Classification |
classifySphereSphere(Sphere sphere1,
Sphere sphere2)
Classifies a Sphere against a Sphere. |
static Classifier.Classification |
classifySphereSphere(Tuple3f center1,
float radius1,
Tuple3f center2,
float radius2)
Classifies a Sphere against a Sphere. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Classifier()
| Method Detail |
|---|
public static Classifier.Classification classifySpherePoint(float cx,
float cy,
float cz,
float r,
float px,
float py,
float pz)
cx - cy - cz - r - px - py - pz -
public static Classifier.Classification classifySpherePoint(Tuple3f sphereC,
float sphereR,
float px,
float py,
float pz)
sphereC - sphereR - px - py - pz -
public static Classifier.Classification classifySpherePoint(Tuple3f sphereC,
float sphereR,
Point3f point)
sphereC - sphereR - point -
public static Classifier.Classification classifySpherePoint(Sphere sphere,
Point3f point)
sphere - point -
public static Classifier.Classification classifySpherePoint(Sphere sphere,
float px,
float py,
float pz)
sphere - px - py - pz -
public static Classifier.Classification classifySphereSphere(float cx1,
float cy1,
float cz1,
float r1,
float cx2,
float cy2,
float cz2,
float r2)
cx1 - cy1 - cz1 - r1 - cx2 - cy2 - cz2 - r2 -
public static Classifier.Classification classifySphereSphere(Tuple3f center1,
float radius1,
Tuple3f center2,
float radius2)
center1 - radius1 - center2 - radius2 -
public static Classifier.Classification classifySphereSphere(Sphere sphere1,
Sphere sphere2)
sphere1 - sphere2 -
public static Classifier.Classification classifySphereBox(Sphere sphere,
float boxLowerX,
float boxLowerY,
float boxLowerZ,
float boxUpperX,
float boxUpperY,
float boxUpperZ)
sphere - boxLowerX - boxLowerY - boxLowerZ - boxUpperX - boxUpperY - boxUpperZ -
public static Classifier.Classification classifySphereBox(Sphere sphere,
Tuple3f boxLower,
Tuple3f boxUpper)
sphere - boxLower - boxUpper -
public static Classifier.Classification classifySphereBox(Sphere sphere,
Box box)
sphere - box -
public static Classifier.PlaneClassification classifySpherePlane(Sphere sphere,
Plane plane)
public static Classifier.Classification classifyBoxPoint(float boxLowerX,
float boxLowerY,
float boxLowerZ,
float boxUpperX,
float boxUpperY,
float boxUpperZ,
float px,
float py,
float pz)
boxLowerX - boxLowerY - boxLowerZ - boxUpperX - boxUpperY - boxUpperZ - px - py - pz -
public static Classifier.Classification classifyBoxPoint(Tuple3f boxLower,
Tuple3f boxUpper,
Point3f point)
boxLower - boxUpper - point -
public static Classifier.Classification classifyBoxPoint(Box box,
Point3f point)
box - point -
public static Classifier.Classification classifyBoxPoint(Box box,
float px,
float py,
float pz)
box - px - py - pz -
public static Classifier.Classification classifyBoxSphere(float boxLowerX,
float boxLowerY,
float boxLowerZ,
float boxUpperX,
float boxUpperY,
float boxUpperZ,
float x,
float y,
float z,
float radius)
boxLowerX - boxLowerY - boxLowerZ - boxUpperX - boxUpperY - boxUpperZ - x - y - z - radius -
public static Classifier.Classification classifyBoxSphere(Tuple3f boxLower,
Tuple3f boxUpper,
Tuple3f sphereCenter,
float radius)
boxLower - boxUpper - sphereCenter - radius -
public static Classifier.Classification classifyBoxSphere(Box box,
Sphere sphere)
box - sphere -
public static Classifier.Classification classifyBoxBox(float lowerX1,
float lowerY1,
float lowerZ1,
float upperX1,
float upperY1,
float upperZ1,
float lowerX2,
float lowerY2,
float lowerZ2,
float upperX2,
float upperY2,
float upperZ2)
lowerX1 - lowerY1 - lowerZ1 - upperX1 - upperY1 - upperZ1 - lowerX2 - lowerY2 - lowerZ2 - upperX2 - upperY2 - upperZ2 -
public static Classifier.Classification classifyBoxBox(Tuple3f boxLower1,
Tuple3f boxUpper1,
Tuple3f boxLower2,
Tuple3f boxUpper2)
boxLower1 - boxUpper1 - boxLower2 - boxUpper2 -
public static Classifier.Classification classifyBoxBox(Box box1,
Box box2)
box1 - box2 -
public static Classifier.Classification classifySphereBounds(Sphere sphere1,
Bounds bounds)
sphere1 - bounds -
public static Classifier.Classification classifyBoxBounds(Box box1,
Bounds bounds)
box1 - bounds -
public static Classifier.Classification classifyBoundsBounds(Bounds bounds1,
Bounds bounds2)
bounds1 - bounds2 -
public static Classifier.PlaneClassification classifyPlanePoint(float planeNx,
float planeNy,
float planeNz,
float planeD,
float x,
float y,
float z)
public static Classifier.PlaneClassification classifyPlanePoint(Plane plane,
float px,
float py,
float pz)
public static Classifier.PlaneClassification classifyPlanePoint(Plane plane,
Tuple3f point)
public static Classifier.PlaneClassification classifyPlanePoints(Plane plane,
Tuple3f[] points)
public static Classifier.PlaneClassification classifyPlaneBox(Plane plane,
float boxLowerX,
float boxLowerY,
float boxLowerZ,
float boxUpperX,
float boxUpperY,
float boxUpperZ)
public static Classifier.PlaneClassification classifyPlaneBox(Plane plane,
Tuple3f boxLower,
Tuple3f boxUpper)
public static Classifier.PlaneClassification classifyPlaneBox(Plane plane,
Box box)
public static final Classifier.Classification classifyFrustumPoint(Frustum frustum,
float x,
float y,
float z)
frustum - x - y - z -
public static final Classifier.Classification classifyFrustumPoint(Frustum frustum,
Point3f point)
frustum - point -
public static final Classifier.Classification classifyFrustumSphere(Frustum frustum,
float x,
float y,
float z,
float radius)
frustum - x - y - z - radius -
public static final Classifier.Classification classifyFrustumSphere(Frustum frustum,
Tuple3f sphereCenter,
float radius)
frustum - sphereCenter - radius -
public static final Classifier.Classification classifyFrustumSphere(Frustum frustum,
Sphere sphere)
frustum - sphere -
public static Classifier.Classification classifyFrustumBox(Frustum frustum,
float boxLowerX,
float boxLowerY,
float boxLowerZ,
float boxUpperX,
float boxUpperY,
float boxUpperZ)
frustum - boxLowerX - boxLowerY - boxLowerZ - boxUpperX - boxUpperY - boxUpperZ -
public static Classifier.Classification classifyFrustumBox(Frustum frustum,
Tuple3f boxLower,
Tuple3f boxUpper)
frustum - boxLower - boxUpper -
public static final Classifier.Classification classifyFrustumBox(Frustum frustum,
Box box)
frustum - box -
public static Classifier.Classification classifyFrustumBounds(Frustum frustum,
Bounds bounds)
frustum - bounds -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||