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:
java.lang.Cloneable

public class BoundingBox
extends javax.media.j3d.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.5
Version:
$Revision: 1.7 $ $Date: 2005/07/04 12:21:22 $
Author:
Peter Jacobs

Constructor Summary
BoundingBox()
          constructs a new BoundingBox.
BoundingBox(javax.media.j3d.Bounds arg0)
          constructs a new BoundingBox.
BoundingBox(javax.media.j3d.Bounds[] arg0)
          constructs a new BoundingBox.
BoundingBox(double deltaX, double deltaY, double deltaZ)
          constructs a new BoundingBox around [0;0;0].
BoundingBox(javax.vecmath.Point3d arg0, javax.vecmath.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(javax.media.j3d.Bounds arg0)
constructs a new BoundingBox.

Parameters:
arg0 - the boundaries

BoundingBox

public BoundingBox(javax.media.j3d.Bounds[] arg0)
constructs a new BoundingBox.

Parameters:
arg0 - the boundaries

BoundingBox

public BoundingBox(javax.vecmath.Point3d arg0,
                   javax.vecmath.Point3d arg1)
constructs a new BoundingBox.

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

normalize

public final void normalize()
normalizes the boundingBox.



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