AnyLogic
Expand
Font size
All Implemented Interfaces:
AggregatableAnimationElement, HasLevel, SVGElement, java.io.Serializable
Direct Known Subclasses:
Intersection, Road

@AnyLogicInternalAPI
public abstract class AbstractRoadConnectableElement
extends AbstractRoadMarkup
Abstract class for any Transport Library space markup elements representing any part of road (road, road juction, parking lot, etc.)
Author:
AnyLogic North America, LLC https://anylogic.com
See Also:
Serialized Form

Constructor Summary

Constructors 
AbstractRoadConnectableElement()
Creates a new instance of abstract road element.
AbstractRoadConnectableElement​(Agent owner, ShapeDrawMode drawMode, boolean isPublic)
Creates a new instance of abstract road element.
Constructor Description

Method Summary

All Methods Instance Methods Abstract Methods 
abstract java.util.List<RoadConnectionPoint> getConnectionPoints()
Returns a list of connection points of the road element.
Modifier and Type Method Description

Methods inherited from class com.anylogic.engine.markup.AbstractRoadMarkup

contains, getLevel, getRoadNetwork, setDebugInfoVisible, setRoadNetwork

Methods inherited from class com.anylogic.engine.markup.MarkupShape

error, getDrawMode, getFullName, getOutsideLevelZ, getPresentable, getSpace, initialize, isClickHandled, isPublic, onClick, remove, setDrawMode, setOwner

Methods inherited from class com.anylogic.engine.markup.AbstractMarkup

discardOwner, executeUserAction, findSVGElement, getName, getSVGId, initializeInternal, isVisible, onAggregatorInitialized, onAggregatorVisibilityChanged, removeSVGFromOwner, resetSVGState, setVisible, updateDynamicProperties, updateDynamicPropertiesStructural, updateSVGProperties

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods inherited from interface com.anylogic.engine.markup.AggregatableAnimationElement

postInitialize

Constructor Detail

AbstractRoadConnectableElement

public AbstractRoadConnectableElement()
Creates a new instance of abstract road element. Cannot be called by user.

AbstractRoadConnectableElement

public AbstractRoadConnectableElement​(Agent owner,
                                      ShapeDrawMode drawMode,
                                      boolean isPublic)
Creates a new instance of abstract road element. Cannot be called by user.
Parameters:
owner - Agent to which the created road intersection belongs to.
drawMode - Where to draw this space markup shape: 2D, 3D or 2D+3D.
ispublic - If true, the markup shape is visible on container's presentation.

Method Detail

getConnectionPoints

@AnyLogicInternalAPI
public abstract java.util.List<RoadConnectionPoint> getConnectionPoints()
Returns a list of connection points of the road element. The elements of list can be sorted in any order, but this order is the same during lifetime of the element.
Returns:
List of connection points of the road element.
How can we improve this article?