Optional
x: numberOptional
y: numberOrientation at recorded position
Position reference space UID
Position recording timestamp
Position unit
Protected
vectorVelocity at recorded position
Position accuracy
Position accuracy
Position accuracy
Get the angular velocity
Angular velocity
Set the angular velocity
Get the linear velocity
Linear velocity
Set the linear velocity
Get the position probability
Probability between 0 and 1
Position probability
Get the angle in radians from this position to a destination
Destination position
Bearing in radians from this position to destination
Get the distance from this location to a destination
Destination location
Optional
distanceFunction: DistanceFn = EUCLIDEANDistance function to use (default EUCLIDEAN distance)
Distance between this point and destination
Optional
unit: LengthUnitSet the accuracy of the absolute position
Accuracy object or number
Optional
unit: UnitOptional unit
instance
Set the orientation of the position
orientation
instance
Optional
unit: LengthUnit
Absolute cartesian 2D position. This class uses a Vector2. This location can be used both as an absolute location or relative location.