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
m_bbox
protected BoundingBox m_bbox
BoxManifestation
public BoxManifestation(AgentID id,
Point3D topleft,
double length,
double width,
double height)
BoxManifestation
public BoxManifestation(AgentID id,
Point3D lefttopfront,
Point3D rightbottomback)
getBoundingBox
public BoundingBox getBoundingBox()
- The 3D bounding box of the thing.
- Overrides:
getBoundingBox
in class Manifestation
setBoundingBox
public void setBoundingBox(BoundingBox bbox)