Class Absolute3DPosition

Absolute cartesian 3D position. This class uses a Vector3. This location can be used both as an absolute location or relative location.

Hierarchy (view full)

Constructors

Properties

orientation: Orientation

Orientation at recorded position

referenceSpaceUID: string

Position reference space UID

timestamp: number = ...

Position recording timestamp

unit: LengthUnit = LengthUnit.METER

Position unit

vector: Vector3 = ...
velocity: Velocity = ...

Velocity at recorded position

Accessors

Methods

  • Get the distance from this location to a destination

    Parameters

    • destination: this

      Destination location

    • Optional distanceFunction: DistanceFn = EUCLIDEAN

      Distance function to use (default EUCLIDEAN distance)

    Returns number

    Distance between this point and destination