AnyLogic
Expand
Font size
All Implemented Interfaces:
AggregatableAnimationElement, HasLevel, SVGElement, 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

ConstructorDescription
AbstractRoadConnectableElement()
Creates a new instance of abstract road element.
AbstractRoadConnectableElement(Agent owner, ShapeDrawMode drawMode, boolean isPublic)
Creates a new instance of abstract road element.

Method Summary

Modifier and TypeMethodDescription
abstract List<RoadConnectionPoint>getConnectionPoints()
Returns a list of connection points of the road element.

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 java.lang.Object

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

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

postInitialize

Constructor Details

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 Details

getConnectionPoints

@AnyLogicInternalAPI
public abstract 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.