agentland.geo
Class BoxManifestation

java.lang.Object
  |
  +--agentland.geo.Manifestation
        |
        +--agentland.geo.BoxManifestation
All Implemented Interfaces:
Serializable

public class BoxManifestation
extends Manifestation

The simplest Manifestation--represent the agent as a box.

See Also:
Serialized Form

Field Summary
protected  BoundingBox m_bbox
           
 
Constructor Summary
BoxManifestation(AgentID id, Point3D topleft, double length, double width, double height)
           
BoxManifestation(AgentID id, Point3D lefttopfront, Point3D rightbottomback)
           
 
Method Summary
 BoundingBox getBoundingBox()
          The 3D bounding box of the thing.
 void setBoundingBox(BoundingBox bbox)
           
 
Methods inherited from class agentland.geo.Manifestation
getAgentID, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_bbox

protected BoundingBox m_bbox
Constructor Detail

BoxManifestation

public BoxManifestation(AgentID id,
                        Point3D topleft,
                        double length,
                        double width,
                        double height)

BoxManifestation

public BoxManifestation(AgentID id,
                        Point3D lefttopfront,
                        Point3D rightbottomback)
Method Detail

getBoundingBox

public BoundingBox getBoundingBox()
The 3D bounding box of the thing.
Overrides:
getBoundingBox in class Manifestation

setBoundingBox

public void setBoundingBox(BoundingBox bbox)