|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object TunnelModule.TunnelEntrance
public static class TunnelModule.TunnelEntrance
Constructor Summary | |
---|---|
TunnelModule.TunnelEntrance(MapNode node,
MapWaySegment tunnelSegment)
|
Method Summary | |
---|---|
AxisAlignedBoundingBoxXZ |
getAxisAlignedBoundingBoxXZ()
returns the axis aligned bounding box that contains the entire object |
double |
getClearingAbove(VectorXZ pos)
returns the amount of free space above the base elevation required by this feature. |
double |
getClearingBelow(VectorXZ pos)
returns the amount of free space below the base elevation required by this feature. |
GroundState |
getGroundState()
returns whether this feature is on, above or below the ground. |
PolygonXYZ |
getOutlinePolygon()
returns a counterclockwise polygon defining the object's ground footprint. |
SimplePolygonXZ |
getOutlinePolygonXZ()
returns a counterclockwise polygon defining the object's ground footprint, projected onto the XZ plane. |
MapElement |
getPrimaryMapElement()
returns the "primary" MapElement for this WorldObject;
i.e. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TunnelModule.TunnelEntrance(MapNode node, MapWaySegment tunnelSegment)
Method Detail |
---|
public MapElement getPrimaryMapElement()
WorldObject
MapElement
for this WorldObject;
i.e. the one it is most strongly associated with.
Can be null if there is no (clear) primary element for this feature.
getPrimaryMapElement
in interface WorldObject
public double getClearingAbove(VectorXZ pos)
WorldObject
getClearingAbove
in interface WorldObject
public double getClearingBelow(VectorXZ pos)
WorldObject
getClearingBelow
in interface WorldObject
public GroundState getGroundState()
WorldObject
getGroundState
in interface WorldObject
public AxisAlignedBoundingBoxXZ getAxisAlignedBoundingBoxXZ()
TerrainBoundaryWorldObject
getAxisAlignedBoundingBoxXZ
in interface IntersectionTestObject
getAxisAlignedBoundingBoxXZ
in interface TerrainBoundaryWorldObject
public PolygonXYZ getOutlinePolygon()
WorldObjectWithOutline
getOutlinePolygon
in interface WorldObjectWithOutline
public SimplePolygonXZ getOutlinePolygonXZ()
WorldObjectWithOutline
getOutlinePolygonXZ
in interface WorldObjectWithOutline
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |