|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectus.ihmc.utilities.math.geometry.BoundingBox2d
public class BoundingBox2d
Constructor Summary | |
---|---|
BoundingBox2d(BoundingBox2d p)
|
|
BoundingBox2d(double[] min,
double[] max)
|
|
BoundingBox2d(javax.vecmath.Point2d min,
javax.vecmath.Point2d max)
|
Method Summary | |
---|---|
void |
getCenterPointCopy(javax.vecmath.Point2d center)
|
javax.vecmath.Point2d |
getMaxPoint()
|
void |
getMaxPoint(javax.vecmath.Point2d max)
|
javax.vecmath.Point2d |
getMinPoint()
|
void |
getMinPoint(javax.vecmath.Point2d min)
|
void |
getPointGivenParameters(javax.vecmath.Point2d point,
double xParameter,
double yParameter)
|
boolean |
intersects(BoundingBox2d r)
|
boolean |
isBoxAtOrAbove(double referenceY)
returns true if this boxes minimum point y value >= referenceY |
boolean |
isBoxAtOrBelow(double referenceY)
returns true if this boxes maximum point y value <= referenceY |
boolean |
isBoxAtOrLeftOf(double referenceX)
returns true if this boxes maximum point x value <= referenceX |
boolean |
isBoxAtOrRightOf(double referenceX)
returns true if this boxes minimum point x value >= referenceX |
boolean |
isInside(javax.vecmath.Point2d point2d)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BoundingBox2d(javax.vecmath.Point2d min, javax.vecmath.Point2d max)
public BoundingBox2d(double[] min, double[] max)
public BoundingBox2d(BoundingBox2d p)
Method Detail |
---|
public void getMinPoint(javax.vecmath.Point2d min)
public void getMaxPoint(javax.vecmath.Point2d max)
public javax.vecmath.Point2d getMaxPoint()
public javax.vecmath.Point2d getMinPoint()
public void getCenterPointCopy(javax.vecmath.Point2d center)
public boolean isBoxAtOrAbove(double referenceY)
public boolean isBoxAtOrBelow(double referenceY)
public boolean isBoxAtOrLeftOf(double referenceX)
public boolean isBoxAtOrRightOf(double referenceX)
public boolean isInside(javax.vecmath.Point2d point2d)
public boolean intersects(BoundingBox2d r)
public void getPointGivenParameters(javax.vecmath.Point2d point, double xParameter, double yParameter)
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 |