public class StaticObject extends Object implements ObjectInterface
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
StaticObject(OTSLine3D geometry,
org.djunits.value.vdouble.scalar.Length.Rel height) |
Modifier and Type | Method and Description |
---|---|
javax.media.j3d.Bounds |
getBounds() |
OTSLine3D |
getGeometry() |
org.djunits.value.vdouble.scalar.Length.Rel |
getHeight() |
nl.tudelft.simulation.language.d3.DirectedPoint |
getLocation() |
public StaticObject(OTSLine3D geometry, org.djunits.value.vdouble.scalar.Length.Rel height)
geometry
- the top-level 2D outline of the objectheight
- the height of the objectpublic final OTSLine3D getGeometry()
public final org.djunits.value.vdouble.scalar.Length.Rel getHeight()
public final nl.tudelft.simulation.language.d3.DirectedPoint getLocation() throws RemoteException
getLocation
in interface nl.tudelft.simulation.dsol.animation.LocatableInterface
RemoteException
public final javax.media.j3d.Bounds getBounds() throws RemoteException
getBounds
in interface nl.tudelft.simulation.dsol.animation.LocatableInterface
RemoteException
Copyright © 2014–2016 Delft University of Technology. All rights reserved.