simbad.sim
Class Box
java.lang.Object
simbad.sim.BaseObject
simbad.sim.StaticObject
simbad.sim.BlockWorldObject
simbad.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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.