Package com.anylogic.engine.markup
          - Field Summary
- Constructor Summary
- Method Summary
    - Methods inherited from class com.anylogic.engine.markup.ConveyorPathPart
- 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.AggregatableAnimationElement
- Methods inherited from interface com.anylogic.engine.markup.INetworkMarkupElement
 
- 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.ConveyorPathPart<T>
- com.anylogic.engine.markup.ConveyorStation<T>
- All Implemented Interfaces:
- AggregatableAnimationElement,- HasLevel,- INetworkMarkupElement,- SVGElement,- UsdElement,- Serializable
- Direct Known Subclasses:
- ConveyorSimpleStation
public abstract class ConveyorStation<T extends Agent> extends ConveyorPathPart<T>
- See Also:
- Serialized Form
| Constructor | Description | 
|---|---|
| ConveyorStation | |
| ConveyorStation | Constructor | 
| ConveyorStation | Constructor | 
| Modifier and Type | Method | Description | 
|---|---|---|
| boolean | contains | Test if the shape contains the point with the given coordinates (relative
 to this shape's container, i.e. | 
| double | getLength | Returns the length of this element | 
| double | getNearestPoint | Calculates (using the  outputobject) the point in this space markup element
 nearest to the given point. | 
| Point | randomPointInside | Returns the randomly chosen point inside/along the given space markup element. | 
| void | setLength | Sets length of this conveyor part in XY-projection, measured in the given units. | 
| void | setNetwork | Sets the network for this element. | 
error, 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, updateSVGPropertiespublic ConveyorStation(ConveyorPath<? extends T> conveyor) 
public ConveyorStation(ConveyorPath<? extends T> conveyor, double offset, double lengthInMeters) 
Constructor
- Parameters:
- conveyor- the conveyor
- offset- offset measured from the beginning of conveyor to the end of this station, in pixels.
- lengthInMeters- the length of this station in meters.
public ConveyorStation(ConveyorPath<? extends T> conveyor, ShapeDrawMode drawMode, boolean isPublic, double offset, double lengthInMeters) 
Constructor
- Parameters:
- conveyor- the conveyor
- drawMode-
- isPublic-
- offset- offset measured from the beginning of conveyor to the end of this station, in pixels.
- lengthInMeters- the length of this station in meters.
public void setNetwork(ConveyorNetwork network) 
Description copied from class: 
ConveyorMarkupElementSets the network for this element. The element should be uninitialized
- Overrides:
- setNetworkin class- ConveyorMarkupElement<T extends Agent>
- Parameters:
- network- new network
public double getLength(LengthUnits units) 
Returns the length of this element
- Parameters:
- units- length units
- Returns:
- the length of this element
public void setLength(double length, LengthUnits units) 
Sets length of this conveyor part in XY-projection, measured in the given units.
- Parameters:
- length- , measured in the given units
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.- Parameters:
- givenPoint- given point
- out- 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.
- Parameters:
- rng- the random number generator.
- out- output object to write to, may be- null
- Returns:
- the randomly chosen point
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 interface- INetworkMarkupElement
- Specified by:
- containsin class- MarkupShape
- Parameters:
- px- the x coordinate relative to this shape's container
- py- the y coordinate relative to this shape's container
- Returns:
- trueif the shape contains the point with the given coordinates