Package org.opentcs.access.to.model
Klasse PointCreationTO
java.lang.Object
org.opentcs.access.to.CreationTO
org.opentcs.access.to.model.PointCreationTO
- Alle implementierten Schnittstellen:
Serializable
A transfer object describing a point in the plant model.
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypKlasseBeschreibungstatic class
Contains information regarding the graphical representation of a point. -
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the information regarding the graphical representation of this point.Returns the maximum bounding box (in mm) that a vehicle at this point is allowed to have.getPose()
Returns the pose of the vehicle at this point.getType()
Returns the type of this point.Returns a map of envelope keys to envelopes that vehicles located at this point may occupy.toString()
withLayout
(PointCreationTO.Layout layout) Creates a copy of this object, with the given layout.withMaxVehicleBoundingBox
(BoundingBoxCreationTO maxVehicleBoundingBox) Creates a copy of this object, with the given maximum vehicle bounding box.Creates a copy of this object with the given name.Creates a copy of this object with the given pose.withProperties
(Map<String, String> properties) Creates a copy of this object with the given properties.withProperty
(String key, String value) Creates a copy of this object and adds the given property.withType
(Point.Type type) Creates a copy of this object with the given type.withVehicleEnvelopes
(Map<String, Envelope> vehicleEnvelopes) Creates a copy of this object, with the given vehicle envelopes.Von Klasse geerbte Methoden org.opentcs.access.to.CreationTO
getModifiableProperties, getName, getProperties, listWithAppendix, mapWithMapping, propertiesWith
-
Konstruktordetails
-
PointCreationTO
Creates a new instance.- Parameter:
name
- The name of this point.
-
-
Methodendetails
-
withName
Creates a copy of this object with the given name.- Setzt außer Kraft:
withName
in KlasseCreationTO
- Parameter:
name
- The new name.- Gibt zurück:
- A copy of this object, differing in the given name.
-
getPose
Returns the pose of the vehicle at this point.- Gibt zurück:
- The pose of the vehicle at this point.
-
withPose
Creates a copy of this object with the given pose.- Parameter:
pose
- The new pose.- Gibt zurück:
- A copy of this object, differing in the given position.
-
getType
Returns the type of this point.- Gibt zurück:
- The type of this point.
-
withType
Creates a copy of this object with the given type.- Parameter:
type
- The new type.- Gibt zurück:
- A copy of this object, differing in the given type.
-
withProperties
Creates a copy of this object with the given properties.- Setzt außer Kraft:
withProperties
in KlasseCreationTO
- Parameter:
properties
- The new properties.- Gibt zurück:
- A copy of this object, differing in the given properties.
-
withProperty
Creates a copy of this object and adds the given property. If value == null, then the key-value pair is removed from the properties.- Setzt außer Kraft:
withProperty
in KlasseCreationTO
- Parameter:
key
- the key.value
- the value- Gibt zurück:
- A copy of this object that either includes the given entry in its current properties, if value != null or excludes the entry otherwise.
-
getVehicleEnvelopes
Returns a map of envelope keys to envelopes that vehicles located at this point may occupy.- Gibt zurück:
- A map of envelope keys to envelopes that vehicles located at this point may occupy.
-
withVehicleEnvelopes
Creates a copy of this object, with the given vehicle envelopes.- Parameter:
vehicleEnvelopes
- The value to be set in the copy.- Gibt zurück:
- A copy of this object, differing in the given value.
-
getMaxVehicleBoundingBox
Returns the maximum bounding box (in mm) that a vehicle at this point is allowed to have.- Gibt zurück:
- The maximum bounding box (in mm) that a vehicle at this point is allowed to have.
-
withMaxVehicleBoundingBox
Creates a copy of this object, with the given maximum vehicle bounding box.- Parameter:
maxVehicleBoundingBox
- The value to be set in the copy.- Gibt zurück:
- A copy of this object, differing in the given value.
-
getLayout
Returns the information regarding the graphical representation of this point.- Gibt zurück:
- The information regarding the graphical representation of this point.
-
withLayout
Creates a copy of this object, with the given layout.- Parameter:
layout
- The value to be set in the copy.- Gibt zurück:
- A copy of this object, differing in the given value.
-
toString
-