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.material_handling.IMaterialMarkupLibraryDescriptor
- 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.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<T>
- com.anylogic.engine.markup.ConveyorCustomStation<T>
- All Implemented Interfaces:
AbstractPositionalMarkup,AggregatableAnimationElement,AnimationStaticLocationProvider,HasLevel,IMarkupLibraryDescriptor,INetworkMarkupElement,INode<ConveyorNode<?>,,ConveyorPath<?>> com.anylogic.engine.markup.material_handling.IConveyorCustomStationDescriptor<T>,com.anylogic.engine.markup.material_handling.IMaterialMarkupLibraryDescriptor,SVGElement,UsdElement,Serializable
public class ConveyorCustomStation<T extends Agent> extends ConveyorNode<T> implements com.anylogic.engine.markup.material_handling.IConveyorCustomStationDescriptor<T>
Custom station is the space markup element used in material handling models.
It defines a station / working zone where material items are processed.
The process is not set up in this block, you should define it on your own ( Process Modeling Library and Material Handling Library blocks).
If the processing can be defined simply as a delay for the specified time, use the Station element instead.
Custom station is a part of a conveyor network. Custom station can act as a transit point in a conveyor network, any number of conveyors can lead to/from the custom station. It can also be a destination for material items transportation defined by the Convey block.
- See Also:
- Serialized Form
| Constructor | Description |
|---|---|
ConveyorCustomStation() | |
ConveyorCustomStation |
Deprecated.
deprecated in version 8.4, will be removed in the future releases
|
ConveyorCustomStation |
Deprecated.
deprecated in version 8.4, will be removed in the future releases
|
| Modifier and Type | Method | Description |
|---|---|---|
void | addVertex |
Add vertex to build the 2D polygon that will represent this markup.
|
ConveyorCustomStationAgentLocation | agentLocation | |
boolean | contains |
Test if the shape contains the point with the given coordinates (relative
to this shape's container, i.e.
|
Point | getCenter() |
Returns the point at the center of this markup
|
double | getNearestPoint |
Calculates (using the
output object) the point in this space markup element
nearest to the given point. |
Position | getPosition |
Returns the item position with the given index.
In case of any wrong argument returns zero-index position (position for index=0 with totalNumber=1). |
double | getTransferDistance | |
void | onEnter | |
Point | randomPointInside |
Returns the randomly chosen point inside/along the given space markup element.
|
void | setCenter |
Deprecated.
|
addConnection, getCompatibleAgentExtensionClass, getConnection, getConnections, getConnectionsCount, getFillColor, getFillTexture, getIncomingPaths, getLineColor, getLineTexture, getNetwork, getOutgoingPaths, getTransferPositionByPercent, getX, getXYZ, getY, getZ, postInitialize, 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, updateSVGPropertiesMethods inherited from interface com.anylogic.engine.markup.material_handling.IMaterialMarkupLibraryDescriptor
getMarkup, setMarkupexecuteUserAction, findSVGElement, getGroupOrOwner, getPresentable, getSVGComponent, getSVGId, isOnly3D, removeSVGFromOwner, resetSVGState, updateSVGPropertiespublic ConveyorCustomStation()
@Deprecated public ConveyorCustomStation(Agent owner, ShapeDrawMode drawMode, boolean isPublic)
Deprecated.
deprecated in version 8.4, will be removed in the future releases
- Parameters:
owner-drawMode-isPublic-
@AnyLogicInternalAPI @Deprecated @SafeVarargs public ConveyorCustomStation(Agent owner, ShapeDrawMode drawMode, boolean isPublic, double x, double y, double z, double[] dx, double[] dy, Paint fillColor, Paint lineColor, com.anylogic.engine.markup.material_handling.IConveyorCustomStationDescriptor<T> descriptor, PathEnd<ConveyorPath<?>>... pathEnds)
Deprecated.
deprecated in version 8.4, will be removed in the future releases
- Parameters:
owner-drawMode-isPublic-x-y-z-dx-dy-fillColor-lineColor-descriptor-pathEnds-
public void addVertex(double x, double y)
Add vertex to build the 2D polygon that will represent this markup. The markup should be uninitialized
- Parameters:
x- x coordinate of the point to be addedy- y coordinate of the point to be added
public Point getCenter()
Returns the point at the center of this markup
- Returns:
- the point at the center of this markup
@Deprecated public void setCenter(Point point)
Deprecated.
@AnyLogicInternalAPI public double getTransferDistance(ConveyorPath<?> path1, ConveyorPath<?> path2)
- Specified by:
getTransferDistancein interfaceINode<ConveyorNode<?>,ConveyorPath<?>>
public double getNearestPoint(Point givenPoint, Point out)
Description copied from interface:
INetworkMarkupElementCalculates (using the
output object) the point in this space markup element
nearest to the given point. Returns the square of distance to the point.- Specified by:
getNearestPointin interfaceINetworkMarkupElement- Overrides:
getNearestPointin classConveyorNode<T extends Agent>- Parameters:
givenPoint- given pointout- the output point to write result to.- Returns:
- the square of distance to the nearest point
public Point randomPointInside(Random rng, Point out)
Description copied from interface:
INetworkMarkupElementReturns the randomly chosen point inside/along the given space markup element.
This method utilises the given Random Number Generator.
- Specified by:
randomPointInsidein interfaceINetworkMarkupElement- Overrides:
randomPointInsidein classConveyorNode<T extends Agent>- Parameters:
rng- the random number generator.out- output object to write to, may benull- Returns:
- the randomly chosen point
public Position getPosition(int index, int totalNumber, Position out)
Description copied from interface:
AnimationStaticLocationProviderReturns the item position with the given index.
In case of any wrong argument returns zero-index position (position for index=0 with totalNumber=1).
In case of any wrong argument returns zero-index position (position for index=0 with totalNumber=1).
- Specified by:
getPositionin interfaceAnimationStaticLocationProvider- Overrides:
getPositionin classConveyorNode<T extends Agent>- Parameters:
index- the index of some item positions, should be not negative and less thantotalNumbertotalNumber- the total number of item positions, should be positiveout- output object to write to, may benull- Returns:
- the Position object with coordinates of the requested item position
public boolean contains(double px, double py)
Description copied from class:
MarkupShapeTest if the shape contains the point with the given coordinates (relative
to this shape's container, i.e. in the same system with the coordinates
of this shape, x and y)
- Specified by:
containsin interfaceINetworkMarkupElement- Overrides:
containsin classConveyorNode<T extends Agent>- Parameters:
px- the x coordinate relative to this shape's containerpy- the y coordinate relative to this shape's container- Returns:
trueif the shape contains the point with the given coordinates
public ConveyorCustomStationAgentLocation agentLocation(T agent)
public void onEnter(T agent)