us.ihmc.utilities.math.geometry
Class BoundingBox2d

java.lang.Object
  extended by us.ihmc.utilities.math.geometry.BoundingBox2d

public class BoundingBox2d
extends java.lang.Object

Title:

Description:

Copyright: Copyright (c) 2006

Company:

Version:
1.0
Author:
not attributable

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)
           
 void getMaxPoint(javax.vecmath.Point2d max)
           
 void getMinPoint(javax.vecmath.Point2d min)
           
 boolean intersects(BoundingBox2d r)
           
 boolean isFullyAbove(double y)
           
 boolean isFullyBelow(double y)
           
 boolean isFullyLeft(double x)
           
 boolean isFullyRight(double x)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoundingBox2d

public BoundingBox2d(javax.vecmath.Point2d min,
                     javax.vecmath.Point2d max)

BoundingBox2d

public BoundingBox2d(double[] min,
                     double[] max)

BoundingBox2d

public BoundingBox2d(BoundingBox2d p)
Method Detail

getMinPoint

public void getMinPoint(javax.vecmath.Point2d min)

getMaxPoint

public void getMaxPoint(javax.vecmath.Point2d max)

getCenterPointCopy

public void getCenterPointCopy(javax.vecmath.Point2d center)

isFullyAbove

public boolean isFullyAbove(double y)

isFullyBelow

public boolean isFullyBelow(double y)

isFullyLeft

public boolean isFullyLeft(double x)

isFullyRight

public boolean isFullyRight(double x)

intersects

public boolean intersects(BoundingBox2d r)