nl.tudelft.simulation.language.d3
Class BoundingBox

java.lang.Object
  extended by javax.media.j3d.Bounds
      extended by javax.media.j3d.BoundingBox
          extended by nl.tudelft.simulation.language.d3.BoundingBox
All Implemented Interfaces:
Cloneable

public class BoundingBox
extends BoundingBox

A bounding box.

(c) copyright 2002-2005 Delft University of Technology , the Netherlands.

See for project information www.simulation.tudelft.nl/language
License of use: Lesser General Public License (LGPL) , no warranty

Since:
1.4
Version:
$Revision: 1.1 $ $Date: 2007/01/06 13:25:54 $
Author:
Peter Jacobs

Constructor Summary
BoundingBox()
          constructs a new BoundingBox
BoundingBox(Bounds arg0)
          constructs a new BoundingBox
BoundingBox(Bounds[] arg0)
          constructs a new BoundingBox
BoundingBox(double deltaX, double deltaY, double deltaZ)
          constructs a new BoundingBox around [0;0;0]
BoundingBox(Point3d arg0, Point3d arg1)
          constructs a new BoundingBox
 
Method Summary
 void normalize()
          normalizes the boundingBox
 
Methods inherited from class javax.media.j3d.BoundingBox
clone, closestIntersection, combine, combine, combine, combine, equals, getLower, getUpper, hashCode, intersect, intersect, intersect, intersect, intersect, intersect, isEmpty, set, setLower, setLower, setUpper, setUpper, toString, transform, transform
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BoundingBox

public BoundingBox()
constructs a new BoundingBox


BoundingBox

public BoundingBox(double deltaX,
                   double deltaY,
                   double deltaZ)
constructs a new BoundingBox around [0;0;0]

Parameters:
deltaX - the deltaX
deltaY - the deltaY
deltaZ - the deltaZ

BoundingBox

public BoundingBox(Bounds arg0)
constructs a new BoundingBox

Parameters:
arg0 - the boundaries

BoundingBox

public BoundingBox(Bounds[] arg0)
constructs a new BoundingBox

Parameters:
arg0 - the boundaries

BoundingBox

public BoundingBox(Point3d arg0,
                   Point3d arg1)
constructs a new BoundingBox

Parameters:
arg0 - the boundaries
arg1 - the point
Method Detail

normalize

public void normalize()
normalizes the boundingBox



Copyright © 2002-2011 Delft University of Technology, the Netherlands. All Rights Reserved.