Package com.anylogic.engine.markup
- Field Summary
- Constructor Summary
- Method Summary
- Methods inherited from class com.anylogic.engine.markup.ConveyorNode
- Methods inherited from class com.anylogic.engine.markup.ConveyorMarkupElement
- 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.AbstractPositionalMarkup
- Methods inherited from interface com.anylogic.engine.markup.AnimationStaticLocationProvider
- Methods inherited from interface com.anylogic.engine.markup.INetworkMarkupElement
- Methods inherited from interface com.anylogic.engine.markup.INode
- Methods inherited from interface com.anylogic.engine.markup.MarkupPort
- Methods inherited from interface com.anylogic.engine.markup.NetworkPort
- Methods inherited from interface com.anylogic.engine.presentation.SVGElement
- Methods inherited from interface com.anylogic.engine.presentation.UsdElement
- Constructor Details
- Method Details
- java.lang.Object
- com.anylogic.engine.markup.AbstractMarkup
- com.anylogic.engine.markup.MarkupShape
- com.anylogic.engine.markup.ConveyorMarkupElement<T>
- com.anylogic.engine.markup.ConveyorNode<Agent>
- com.anylogic.engine.markup.ConveyorPortImpl
- All Implemented Interfaces:
AbstractPositionalMarkup
,AggregatableAnimationElement
,AnimationStaticLocationProvider
,HasLevel
,INetworkMarkupElement
,INode<ConveyorNode<?>,
,ConveyorPath<?>> MarkupPort
,NetworkPort
,SVGElement
,UsdElement
,Serializable
@AnyLogicInternalAPI public class ConveyorPortImpl extends ConveyorNode<Agent> implements NetworkPort, AbstractPositionalMarkup
This class has no user constructors.
Network ports should be created using factory, ConveyorNetwork.createPort(..).
- See Also:
- Serialized Form
Constructor | Description |
---|---|
ConveyorPortImpl |
Modifier and Type | Method | Description |
---|---|---|
void | addConnection | |
MarkupPort | getPairedPort() |
Returns the paired port for this markup port.
|
Position | getPosition() |
Returns the location (with rotation) of this element
|
Position | getPosition |
Returns the location (with rotation) of this element
|
double | getTransferDistance | |
Point | getXYZ() |
Returns the location of this element
|
Point | getXYZ |
Returns the location of this element
|
void | postInitialize() |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. |
void | setPairedPort |
Sets the paired port for this markup port.
|
contains, getCompatibleAgentExtensionClass, getConnection, getConnections, getConnectionsCount, getFillColor, getFillTexture, getIncomingPaths, getLineColor, getLineTexture, getNearestPoint, getNetwork, getOutgoingPaths, getPosition, getTransferPositionByPercent, getX, getY, getZ, randomPointInside, setFillColor, setFillColor, setLineColor, setLineColor, setXYZ
error, getDrawMode, getFullName, getOutsideLevelZ, getPresentable, getSpace, initialize, isClickHandled, isOnly3D, isPublic, onClick, remove, setDrawMode, setOwner
discardOwner, executeUserAction, findSVGElement, getGroupOrOwner, getName, getOrGenerateUSDId, getSVGComponent, getSVGId, initializeInternal, isVisible, onAggregatorInitialized, onAggregatorVisibilityChanged, removeSVGFromOwner, resetSVGState, setVisible, updateDynamicProperties, updateDynamicPropertiesStructural, updateSVGProperties
executeUserAction, findSVGElement, getGroupOrOwner, getPresentable, getSVGComponent, getSVGId, isOnly3D, removeSVGFromOwner, resetSVGState, updateSVGProperties
@AnyLogicInternalAPI public ConveyorPortImpl(Agent owner, ShapeDrawMode drawMode, boolean isPublic, PathEnd<ConveyorPath<?>> pathEnd)
@AnyLogicInternalCodegenAPI public void setPairedPort(MarkupPort pairedPort)
Description copied from interface:
MarkupPort
Sets the paired port for this markup port.
- Specified by:
setPairedPort
in interfaceMarkupPort
- Parameters:
pairedPort
- - a markup port from another
public MarkupPort getPairedPort()
Description copied from interface:
MarkupPort
Returns the paired port for this markup port.
- Specified by:
getPairedPort
in interfaceMarkupPort
- Returns:
- the paired port for this markup port
public void postInitialize()
Description copied from interface:
AggregatableAnimationElement
This method is internal and shouldn't be called by user.
it may be removed/renamed in future.
it may be removed/renamed in future.
- Specified by:
postInitialize
in interfaceAggregatableAnimationElement
- Overrides:
postInitialize
in classConveyorNode<Agent>
public void addConnection(ConveyorPath<?> path, PathEndType type)
- Specified by:
addConnection
in interfaceINode<ConveyorNode<?>,
ConveyorPath<?>> - Overrides:
addConnection
in classConveyorNode<Agent>
public Point getXYZ()
Returns the location of this element
- Specified by:
getXYZ
in interfaceMarkupPort
- Returns:
- the Point object with coordinates of the node
public Point getXYZ(Point out)
Description copied from class:
ConveyorNode
Returns the location of this element
- Overrides:
getXYZ
in classConveyorNode<Agent>
- Parameters:
out
- output object to write to, may benull
- Returns:
- the Point object with coordinates of the node
public Position getPosition()
Returns the location (with rotation) of this element
- Returns:
- the Position object with coordinates of the node
public Position getPosition(Position out)
Returns the location (with rotation) of this element
- Parameters:
out
- output object to write to, may be null- Returns:
- the Position object with coordinates of the node
public double getTransferDistance(ConveyorPath<?> path1, ConveyorPath<?> path2)
- Specified by:
getTransferDistance
in interfaceINode<ConveyorNode<?>,
ConveyorPath<?>>