edu.stanford.rsl.konrad.geometry.bounds
Class BoundingBox

java.lang.Object
  extended by edu.stanford.rsl.konrad.geometry.bounds.AbstractBoundingCondition
      extended by edu.stanford.rsl.konrad.geometry.bounds.BoundingBox
All Implemented Interfaces:
java.io.Serializable

public class BoundingBox
extends AbstractBoundingCondition

Implementation of a Bounding Box

Author:
Rotimi X Ojo
See Also:
Serialized Form

Constructor Summary
BoundingBox(PointND min, PointND max)
           
 
Method Summary
 void flipCondition()
           
 AbstractSurface getBoundingSurface()
           
 boolean isSatisfiedBy(PointND point)
          Determines whether the point is satisfied by the bounding condition
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoundingBox

public BoundingBox(PointND min,
                   PointND max)
Method Detail

isSatisfiedBy

public boolean isSatisfiedBy(PointND point)
Description copied from class: AbstractBoundingCondition
Determines whether the point is satisfied by the bounding condition

Specified by:
isSatisfiedBy in class AbstractBoundingCondition
Parameters:
point - the point
Returns:
whether the condition is satisfied

getBoundingSurface

public AbstractSurface getBoundingSurface()
Specified by:
getBoundingSurface in class AbstractBoundingCondition

flipCondition

public void flipCondition()
Specified by:
flipCondition in class AbstractBoundingCondition