|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectus.ihmc.utilities.math.geometry.BoundingBox3d
public class BoundingBox3d
Constructor Summary | |
---|---|
BoundingBox3d(BoundingBox3d boundingBox)
|
|
BoundingBox3d(double[] min,
double[] max)
|
|
BoundingBox3d(javax.vecmath.Point3d min,
javax.vecmath.Point3d max)
|
Method Summary | |
---|---|
void |
getCenterPointCopy(javax.vecmath.Point3d center)
|
javax.vecmath.Point3d |
getMaxPoint()
|
void |
getMaxPoint(javax.vecmath.Point3d max)
|
javax.vecmath.Point3d |
getMinPoint()
|
void |
getMinPoint(javax.vecmath.Point3d min)
|
double |
getXMax()
|
double |
getXMin()
|
double |
getYMax()
|
double |
getYMin()
|
double |
getZMax()
|
double |
getZMin()
|
boolean |
intersects(BoundingBox3d boundingBox)
|
boolean |
isBoxAtOrAbove(double referenceZ)
returns true if this boxes minimum point z value >= referenceZ |
boolean |
isBoxAtOrBehind(double referenceX)
returns true if this boxes maximum point x value <= referenceX |
boolean |
isBoxAtOrBelow(double referenceZ)
returns true if this boxes maximum point z value <= referenceZ |
boolean |
isBoxAtOrInFrontOf(double referenceX)
returns true if this boxes minimum point x value >= referenceX |
boolean |
isBoxAtOrLeftOf(double referenceY)
returns true if this boxes minimum point y value >= referenceY |
boolean |
isBoxAtOrRightOf(double referenceY)
returns true if this boxes maximum point y value <= referenceY |
boolean |
isInside(double x,
double y,
double z)
|
boolean |
isInside(javax.vecmath.Point3d point3d)
|
boolean |
isXYInside(double x,
double y)
|
java.lang.String |
toString()
|
BoundingBox3d |
union(BoundingBox3d boundingBox)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BoundingBox3d(javax.vecmath.Point3d min, javax.vecmath.Point3d max)
public BoundingBox3d(double[] min, double[] max)
public BoundingBox3d(BoundingBox3d boundingBox)
Method Detail |
---|
public BoundingBox3d union(BoundingBox3d boundingBox)
public double getXMin()
public double getYMin()
public double getZMin()
public double getXMax()
public double getYMax()
public double getZMax()
public void getMinPoint(javax.vecmath.Point3d min)
public void getMaxPoint(javax.vecmath.Point3d max)
public javax.vecmath.Point3d getMaxPoint()
public javax.vecmath.Point3d getMinPoint()
public void getCenterPointCopy(javax.vecmath.Point3d center)
public boolean isBoxAtOrAbove(double referenceZ)
public boolean isBoxAtOrBelow(double referenceZ)
public boolean isBoxAtOrLeftOf(double referenceY)
public boolean isBoxAtOrRightOf(double referenceY)
public boolean isBoxAtOrBehind(double referenceX)
public boolean isBoxAtOrInFrontOf(double referenceX)
public boolean isInside(javax.vecmath.Point3d point3d)
public boolean isXYInside(double x, double y)
public boolean isInside(double x, double y, double z)
public boolean intersects(BoundingBox3d boundingBox)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |