Class MapShoulderData
java.lang.Object
org.opentrafficsim.editor.extensions.map.MapCrossSectionData
org.opentrafficsim.editor.extensions.map.MapShoulderData
- All Implemented Interfaces:
nl.tudelft.simulation.dsol.animation.Locatable
,org.opentrafficsim.base.geometry.OtsLocatable
,org.opentrafficsim.base.geometry.SpatialObject
,org.opentrafficsim.draw.ClickableLocatable
,org.opentrafficsim.draw.road.CrossSectionElementAnimation.CrossSectionElementData
,org.opentrafficsim.draw.road.CrossSectionElementAnimation.ShoulderData
public class MapShoulderData
extends MapCrossSectionData
implements org.opentrafficsim.draw.road.CrossSectionElementAnimation.ShoulderData
Shoulder data for in the editor. Implements
ShoulderData
additionally to extending EditorCrossSectionData
.
Copyright (c) 2023-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Wouter Schakel
-
Field Summary
Fields inherited from interface org.opentrafficsim.draw.ClickableLocatable
EXPANSE
-
Constructor Summary
ConstructorsConstructorDescriptionMapShoulderData
(XsdTreeNode linkNode, org.opentrafficsim.road.network.lane.CrossSectionGeometry geometry) Constructor. -
Method Summary
Methods inherited from class org.opentrafficsim.editor.extensions.map.MapCrossSectionData
getCenterLine, getContour, getLinkId, getLocation, getShape, getWidth
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opentrafficsim.draw.ClickableLocatable
getBounds
Methods inherited from interface org.opentrafficsim.draw.road.CrossSectionElementAnimation.CrossSectionElementData
getCenterLine, getLinkId
Methods inherited from interface org.opentrafficsim.draw.road.CrossSectionElementAnimation.ShoulderData
getZ
Methods inherited from interface nl.tudelft.simulation.dsol.animation.Locatable
getDirZ
Methods inherited from interface org.opentrafficsim.base.geometry.OtsLocatable
getLocation, getShape
Methods inherited from interface org.opentrafficsim.base.geometry.SpatialObject
getContour
-
Constructor Details
-
MapShoulderData
public MapShoulderData(XsdTreeNode linkNode, org.opentrafficsim.road.network.lane.CrossSectionGeometry geometry) Constructor.- Parameters:
linkNode
- node representing the element.geometry
- geometry
-
-
Method Details
-
toString
- Overrides:
toString
in classMapCrossSectionData
-