simbad.sim
Class Box

java.lang.Object
  extended bysimbad.sim.BaseObject
      extended bysimbad.sim.StaticObject
          extended bysimbad.sim.BlockWorldObject
              extended bysimbad.sim.Box
Direct Known Subclasses:
Wall

public class Box
extends BlockWorldObject

A box object which can be put in the environment.

Author:
Louis Hugues

Constructor Summary
Box(javax.vecmath.Vector3d pos, javax.vecmath.Vector3f extent, EnvironmentDescription wd)
          Constructs a box object.
Box(javax.vecmath.Vector3d pos, javax.vecmath.Vector3f extent, EnvironmentDescription wd, javax.vecmath.Color3f color)
          Constructs a box object.
 
Methods inherited from class simbad.sim.BlockWorldObject
rotate90, setColor
 
Methods inherited from class simbad.sim.StaticObject
attach, detach, getCanBeTraversed, getRotationTransform, getTranslationTransform, rotateY, setCanBeTraversed, translateTo
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Box

public Box(javax.vecmath.Vector3d pos,
           javax.vecmath.Vector3f extent,
           EnvironmentDescription wd)
Constructs a box object.

Parameters:
pos - position of the center of the object.
extent - - extent in the three directions.
wd - EnvironmentDescription for global parameters.

Box

public Box(javax.vecmath.Vector3d pos,
           javax.vecmath.Vector3f extent,
           EnvironmentDescription wd,
           javax.vecmath.Color3f color)
Constructs a box object.

Parameters:
pos - position of the center of the object.
extent - - extent in the three directions.
wd - EnvironmentDescription for global parameters.
color - color of the object.