CartesianHandedness

Description

[SemanticEnum]
enum Tinman.Terrain.Geometries.CartesianHandedness

Coordinate system handedness (i.e. right or left handed).

        (Z)            (Z)
   (Y) _.-._          _.-._ (Y)
      | | | |_      _| | | |
      | | | | |    | | | | |          Thumb:         basis vector (X)
      | | | | |    | | | | |          Forefinger:    basis vector (Y)
(X) _ |  '-._ |    | _.-'  | _ (X)    Middle finger: basis vector (Z)
    \`\`-.'-._;    ;_.-'.-'/`/
     \    '   |    |   '    /
      \  .`  /      \  '.  /
       |    |        |    |

The 3D vectors X, Y and Z form the basis of a coordinate system. The handedness can be inferred from either the left or right hand (only one will work without breaking any finger).

Public / Constants

RightHanded

public constant RightHanded → (0:int32)

A right-handed coordinate system.

The following figure shows the palm of the right hand:

    (Z)
   _.-._ (Y)
 _| | | |
| | | | |          Thumb:         basis vector (X)
| | | | |          Forefinger:    basis vector (Y)
| _.-'  | _ (X)    Middle finger: basis vector (Z)
;_.-'.-'/`/
|   '    /
 \  '.  /
  |    |

The 3D vectors X, Y and Z form the basis of a coordinate system. For a right-handed coordinate system, the following holds:

dot(cross(X, Y), Z) > 0

LeftHanded

public constant LeftHanded → (1:int32)

A left-handed coordinate system.

The following figure shows the palm of the left hand:

        (Z)
   (Y) _.-._
      | | | |_
      | | | | |    Thumb:         basis vector (X)
      | | | | |    Forefinger:    basis vector (Y)
(X) _ |  '-._ |    Middle finger: basis vector (Z)
    \`\`-.'-._;
     \    '   |
      \  .`  /
       |    |

The 3D vectors X, Y and Z form the basis of a coordinate system. For a left-handed coordinate system, the following holds:

dot(cross(X, Y), Z) < 0