AnyLogic
Expand
Font size
All Implemented Interfaces:
Serializable

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

Constructor Summary

ConstructorDescription
ServicePoint(double x, double y, double orientation) 
ServicePoint(double x, double y, double orientation, ServiceQueueChoicePolicy queueChoicePolicy) 

Method Summary

Modifier and TypeMethodDescription
doublegetOrientation()
Returns the orientations of the service point
PositiongetPosition(Position out)
Returns the Position object (point and orientation) of this service point
doublegetX()
Returns the x coordinate of the service point
doublegetY()
Returns the y coordinate of the service point
doublegetZ()
Returns the z coordinate of the service point

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 Details

ServicePoint

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

ServicePoint

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

Method Details

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