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, setXYZerror, getDrawMode, getFullName, getOutsideLevelZ, 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, updateSVGPropertiesexecuteUserAction, 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:
MarkupPortSets the paired port for this markup port.
- Specified by:
setPairedPortin interfaceMarkupPort- Parameters:
pairedPort- - a markup port from another
public MarkupPort getPairedPort()
Description copied from interface:
MarkupPortReturns the paired port for this markup port.
- Specified by:
getPairedPortin interfaceMarkupPort- Returns:
- the paired port for this markup port
public void postInitialize()
Description copied from interface:
AggregatableAnimationElementThis 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:
postInitializein interfaceAggregatableAnimationElement- Overrides:
postInitializein classConveyorNode<Agent>
public void addConnection(ConveyorPath<?> path, PathEndType type)
- Specified by:
addConnectionin interfaceINode<ConveyorNode<?>,ConveyorPath<?>> - Overrides:
addConnectionin classConveyorNode<Agent>
public Point getXYZ()
Returns the location of this element
- Specified by:
getXYZin interfaceMarkupPort- Returns:
- the Point object with coordinates of the node
public Point getXYZ(Point out)
Description copied from class:
ConveyorNodeReturns the location of this element
- Overrides:
getXYZin 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:
getTransferDistancein interfaceINode<ConveyorNode<?>,ConveyorPath<?>>