java.lang.Object
com.marginallyclever.ro3.mesh.AABB
- All Implemented Interfaces:
BoundingVolume
,Serializable
Axially-aligned bounding box. Used for fast sorting and filtering.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.vecmath.Point3d
javax.vecmath.Point3d
double
double
double
javax.vecmath.Matrix4d
getPose()
getShape()
boolean
void
void
setBounds
(javax.vecmath.Point3d boundTop, javax.vecmath.Point3d boundBottom) void
setDirty
(boolean newState) void
setPose
(javax.vecmath.Matrix4d m) void
void
-
Field Details
-
p
public javax.vecmath.Point3d[] p
-
-
Constructor Details
-
AABB
public AABB()
-
-
Method Details
-
set
-
updatePoints
public void updatePoints() -
setBounds
public void setBounds(javax.vecmath.Point3d boundTop, javax.vecmath.Point3d boundBottom) -
getBoundsTop
public javax.vecmath.Point3d getBoundsTop() -
getBoundsBottom
public javax.vecmath.Point3d getBoundsBottom() -
getExtentX
public double getExtentX() -
getExtentY
public double getExtentY() -
getExtentZ
public double getExtentZ() -
setPose
public void setPose(javax.vecmath.Matrix4d m) -
getPose
public javax.vecmath.Matrix4d getPose() -
setDirty
public void setDirty(boolean newState) -
setShape
-
getShape
-
intersect
-