Package com.anylogic.engine.markup
- java.lang.Object
-
- com.anylogic.engine.markup.AbstractMarkupSubunit<ServiceBase<?,Q>>
-
- com.anylogic.engine.markup.ServiceUnit<Q>
-
- com.anylogic.engine.markup.ServicePoint<Q>
- All Implemented Interfaces:
java.io.Serializable
public class ServicePoint<Q extends QueueUnit> extends ServiceUnit<Q>
- See Also:
- Serialized Form
ServicePoint(double x,
double y,
double orientation) |
|
ServicePoint(double x,
double y,
double orientation,
ServiceQueueChoicePolicy queueChoicePolicy) |
|
Constructor | Description |
---|
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 |
---|
customSelectQueue, getBoundingRectangle, getClosestQueue, getClosestQueueNotEmpty, getColor, getCustomQueueChoicePolicy, getLongestQueue, isSuspended, queuePriority, setColor, setSuspended
getName, getOwner
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
-
How can we improve this article?
-