AnyLogic AnyLogic
Expand
Font size
All Implemented Interfaces:
java.io.Serializable

public class ServicePoint<Q extends QueueUnit>
extends ServiceUnit<Q>
See Also:
Serialized Form

Constructor Summary

Constructors 
ServicePoint​(double x, double y, double orientation)  
ServicePoint​(double x, double y, double orientation, ServiceQueueChoicePolicy queueChoicePolicy)  
Constructor Description

Method Summary

All Methods Instance Methods Concrete Methods 
double getOrientation()
Returns the orientations of the service point
Position getPosition​(Position out)
Returns the Position object (point and orientation) of this service point
double getX()
Returns the x coordinate of the service point
double getY()
Returns the y coordinate of the service point
double getZ()
Returns the z coordinate of the service point
Modifier and Type Method Description

Methods inherited from class com.anylogic.engine.markup.ServiceUnit

customSelectQueue, getBoundingRectangle, getClosestQueue, getClosestQueueNotEmpty, getColor, getCustomQueueChoicePolicy, getLongestQueue, isSuspended, queuePriority, setColor, setSuspended

Methods inherited from class com.anylogic.engine.markup.AbstractMarkupSubunit

getName, getOwner

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

ServicePoint

public ServicePoint​(double x,
                    double y,
                    double orientation)

ServicePoint

public ServicePoint​(double x,
                    double y,
                    double orientation,
                    ServiceQueueChoicePolicy queueChoicePolicy)

Method Detail

getX

public double getX()
Returns the x coordinate of the service point
Returns:
the x coordinate of the service point

getY

public double getY()
Returns the y coordinate of the service point
Returns:
the y coordinate of the service point

getZ

public double getZ()
Returns the z coordinate of the service point
Returns:
the z coordinate of the service point

getOrientation

public double getOrientation()
Returns the orientations of the service point
Returns:
the orientations of the service point

getPosition

public Position getPosition​(Position out)
Returns the Position object (point and orientation) of this service point
Parameters:
out - output object to write into, may be null
Returns:
position of this service point
How can we improve this article?