|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectJunctionNodeWorldObject
RoadModule.RoadJunction
public static class RoadModule.RoadJunction
representation for junctions between roads.
Field Summary |
---|
Fields inherited from class JunctionNodeWorldObject |
---|
cutCenters, cutVectors, informationProvided, node, widths |
Constructor Summary | |
---|---|
RoadModule.RoadJunction(MapNode node)
|
Method Summary | |
---|---|
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. |
void |
renderTo(Target target)
|
Methods inherited from class JunctionNodeWorldObject |
---|
getAxisAlignedBoundingBoxXZ, getCutNode, getJunctionArea, getOutline, getOutlinePolygon, getTriangulation, setInformation, toString |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface TerrainBoundaryWorldObject |
---|
getAxisAlignedBoundingBoxXZ |
Methods inherited from interface WorldObjectWithOutline |
---|
getOutlinePolygon |
Constructor Detail |
---|
public RoadModule.RoadJunction(MapNode node)
Method Detail |
---|
public void renderTo(Target target)
renderTo
in interface RenderableToAllTargets
public GroundState getGroundState()
WorldObject
getGroundState
in interface WorldObject
public double getClearingAbove(VectorXZ pos)
WorldObject
getClearingAbove
in interface WorldObject
public double getClearingBelow(VectorXZ pos)
WorldObject
getClearingBelow
in interface WorldObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |