|Constructor and Description|
Creates abstract road part.
|Modifier and Type||Method and Description|
Returns true if the road part is located on forward side of road segment, false otherwise.
getOffset, getOffset, getRoad, setOffset, setOffset, setRoad
contains, getRoadNetwork, setDebugInfoVisible, setRoadNetwork
error, getDrawMode, getPresentable, getSpace, initialize, isClickHandled, onClick, setDrawMode, setOwner
executeUserAction, findSVGElement, getName, getSVGId, isVisible, resetSVGState, setVisible, updateDynamicProperties, updateSVGProperties
public AbstractRoadSidePart(Road road, ShapeDrawMode drawMode, boolean isPublic, boolean isOnForwardSide, double offset)
road- Road segment on which the road part is created.
drawMode- Where to draw this space markup shape: 2D, 3D or 2D+3D.
true, the markup shape is visible on container's presentation.
isOnForwardSide- Flag specifying whether the road part is created on forward or backward side of road segment.
offset- Offset (measured by guideline of lane adjacent to road part) from beginning of road axis to beginning of road part, in pixels.
public boolean isOnForwardSide()
public void setOnForwardSide(boolean isOnForwardSide)
isOnForwardSide- if true the road part is located on forward side of road segment, false otherwise.
Copyright © AnyLogic North America, LLC. All Rights Reserved.