Package com.anylogic.engine.markup
- java.lang.Object
- com.anylogic.engine.markup.AbstractMarkup
- com.anylogic.engine.markup.MarkupShape
- com.anylogic.engine.markup.AbstractRailwayMarkup
- All Implemented Interfaces:
AggregatableAnimationElement,HasLevel,RailMarkup,SVGElement,UsdElement,Serializable
- Direct Known Subclasses:
PositionOnTrack,RailwaySwitch,RailwayTrack
public abstract class AbstractRailwayMarkup extends MarkupShape implements RailMarkup
- See Also:
- Serialized Form
| Constructor | Description |
|---|---|
AbstractRailwayMarkup() | |
AbstractRailwayMarkup |
| Modifier and Type | Method | Description |
|---|---|---|
ShapeDrawMode | getDrawMode() |
Returns the drawing mode of the shape (where to draw this shape: 2D, 3D or 2D+3D).
If the shape has been created with no-argument constructor, and has no specific limitations (like 2D-only), and drawing mode hasn't yet been set, then it is initialized to default (2D + 3D). |
Level | getLevel() |
Returns level associated with this space markup element or
null
if this element has no level |
double | getOutsideLevelZ() | |
RailwayNetwork | getRailYard() |
Returns rail yard associated with this space markup element or
null
if this element has no rail yard |
contains, error, getFullName, getPresentable, getSpace, initialize, isClickHandled, isOnly3D, isPublic, onClick, remove, setDrawMode, setOwnerdiscardOwner, executeUserAction, findSVGElement, getGroupOrOwner, getInspect, getInspectionWindowString, getName, getOrGenerateUSDId, getSVGComponent, getSVGId, initializeInternal, isVisible, onAggregatorInitialized, onAggregatorVisibilityChanged, removeSVGFromOwner, resetSVGState, setInspect, setVisible, updateDynamicProperties, updateDynamicPropertiesStructural, updateSVGPropertiespublic AbstractRailwayMarkup()
public AbstractRailwayMarkup(Agent owner, ShapeDrawMode drawMode, boolean isPublic)
public ShapeDrawMode getDrawMode()
Description copied from class:
MarkupShapeReturns the drawing mode of the shape (where to draw this shape: 2D, 3D or 2D+3D).
If the shape has been created with no-argument constructor, and has no specific limitations (like 2D-only), and drawing mode hasn't yet been set, then it is initialized to default (2D + 3D).
If the shape has been created with no-argument constructor, and has no specific limitations (like 2D-only), and drawing mode hasn't yet been set, then it is initialized to default (2D + 3D).
- Overrides:
getDrawModein classMarkupShape- Returns:
- the draw mode for this shape
public Level getLevel()
Description copied from interface:
HasLevelReturns level associated with this space markup element or
null
if this element has no level- Specified by:
getLevelin interfaceHasLevel- Specified by:
getLevelin classMarkupShape- Returns:
- the level associated with this space markup element
@AnyLogicInternalAPI public double getOutsideLevelZ()
- Overrides:
getOutsideLevelZin classMarkupShape
public RailwayNetwork getRailYard()
Description copied from interface:
RailMarkupReturns rail yard associated with this space markup element or
null
if this element has no rail yard- Specified by:
getRailYardin interfaceRailMarkup- Returns:
- the rail yard associated with this space markup element