Package org.opentcs.data.model
Klasse Pose
java.lang.Object
org.opentcs.data.model.Pose
- Alle implementierten Schnittstellen:
Serializable
A pose consisting of a position and an orientation angle.
- Siehe auch:
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
double
The orientation angle in degrees (-360..360).The position/coordinates in mm.int
hashCode()
toString()
withOrientationAngle
(double orientationAngle) Creates a copy of this object, with the given orientation angle.withPosition
(Triple position) Creates a copy of this object, with the given position.
-
Konstruktordetails
-
Pose
Creates a new instance.- Parameter:
position
- The position/coordinates in mm.orientationAngle
- The orientation angle in degrees (-360..360). May be Double.NaN if unknown/undefined.
-
-
Methodendetails
-
getPosition
The position/coordinates in mm.- Gibt zurück:
- The position/coordinates in mm.
-
withPosition
Creates a copy of this object, with the given position.- Parameter:
position
- The value to be set in the copy.- Gibt zurück:
- A copy of this object, differing in the given value.
-
getOrientationAngle
public double getOrientationAngle()The orientation angle in degrees (-360..360). May be Double.NaN if unknown/undefined.- Gibt zurück:
- The orientation angle in degrees, or Double.NaN.
-
withOrientationAngle
Creates a copy of this object, with the given orientation angle.- Parameter:
orientationAngle
- The value to be set in the copy.- Gibt zurück:
- A copy of this object, differing in the given value.
-
hashCode
public int hashCode() -
equals
-
toString
-