Package com.anylogic.engine.markup
- java.lang.Object
- com.anylogic.engine.markup.AbstractMarkupSubunit<ServiceBase<?,
- com.anylogic.engine.markup.ServiceUnit<Q>
- com.anylogic.engine.markup.ServicePoint<Q>
- All Implemented Interfaces:
Serializable
public class ServicePoint<Q extends QueueUnit> extends ServiceUnit<Q>
- See Also:
- Serialized Form
Constructor | Description |
---|---|
ServicePoint | |
ServicePoint |
Modifier and Type | Method | Description |
---|---|---|
double | getOrientation() |
Returns the orientations of the service point
|
Position | getPosition |
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
|
public ServicePoint(double x, double y, double orientation)
public ServicePoint(double x, double y, double orientation, ServiceQueueChoicePolicy queueChoicePolicy)
public double getX()
Returns the x coordinate of the service point
- Returns:
- the x coordinate of the service point
public double getY()
Returns the y coordinate of the service point
- Returns:
- the y coordinate of the service point
public double getZ()
Returns the z coordinate of the service point
- Returns:
- the z coordinate of the service point
public double getOrientation()
Returns the orientations of the service point
- Returns:
- the orientations of the service point
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