Package com.anylogic.engine.markup
- Field Summary
- Constructor Summary
- Method Summary
- Methods inherited from class com.anylogic.engine.markup.AbstractRoadPart
- Methods inherited from class com.anylogic.engine.markup.AbstractRoadMarkup
- Methods inherited from class com.anylogic.engine.markup.MarkupShape
- Methods inherited from class com.anylogic.engine.markup.AbstractMarkup
- Methods inherited from class java.lang.Object
- Methods inherited from interface com.anylogic.engine.markup.AggregatableAnimationElement
- Constructor Details
- Method Details
- java.lang.Object
- com.anylogic.engine.markup.AbstractMarkup
- com.anylogic.engine.markup.MarkupShape
- com.anylogic.engine.markup.AbstractRoadMarkup
- com.anylogic.engine.markup.AbstractRoadPart
- com.anylogic.engine.markup.AbstractRoadSidePart
- All Implemented Interfaces:
AggregatableAnimationElement
,HasLevel
,SVGElement
,UsdElement
,Serializable
- Direct Known Subclasses:
BusStop
,ParkingLot
,StopLine
@AnyLogicInternalAPI public abstract class AbstractRoadSidePart extends AbstractRoadPart
- See Also:
- Serialized Form
Constructor | Description |
---|---|
AbstractRoadSidePart() | |
AbstractRoadSidePart |
Creates abstract road part.
|
Modifier and Type | Method | Description |
---|---|---|
abstract double | getLength() | |
boolean | isOnForwardSide() |
Returns true if the road part is located on forward side of road segment,
false otherwise.
|
void | setOnForwardSide |
error, getDrawMode, getFullName, getOutsideLevelZ, getPresentable, getSpace, initialize, isClickHandled, isPublic, onClick, remove, setDrawMode, setOwner
discardOwner, executeUserAction, findSVGElement, getName, getOrGenerateUSDId, getSVGId, initializeInternal, isVisible, onAggregatorInitialized, onAggregatorVisibilityChanged, removeSVGFromOwner, resetSVGState, setVisible, updateDynamicProperties, updateDynamicPropertiesStructural, updateSVGProperties
public AbstractRoadSidePart()
public AbstractRoadSidePart(Road road, ShapeDrawMode drawMode, boolean isPublic, boolean isOnForwardSide, double offset)
Creates abstract road part.
- Parameters:
road
- Road segment on which the road part is created.drawMode
- Where to draw this space markup shape: 2D, 3D or 2D+3D.ispublic
- Iftrue
, 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()
Returns true if the road part is located on forward side of road segment,
false otherwise.
- Returns:
- True if the road part is located on forward side of road segment, false otherwise.
public void setOnForwardSide(boolean isOnForwardSide)
- Parameters:
isOnForwardSide
- if true the road part is located on forward side of road segment, false otherwise.
@AnyLogicInternalLibraryAPI public abstract double getLength()