Expand description
Contains Compass
and CompassReference
, ways of measuring physical angles on a Sphere or
Ellipse.
Structs§
- Azimuth
Type AzimuthType
is used as a compile-time check forAzimuth
=Compass<AzimuthType>
- Bearing
Type BearingType
is used as a compile-time check forBearing
=Compass<BearingType>
- Compass
- Represents a compass needle and the direction that it’s pointing
- Compass
Offset - Represents a relative angle from a particular zero point that’s not a standard reference like North or East. Used for “relative bearings” and the like where the angle is referenced to the heading of an entity (like, 10 degrees to the right)
- Course
Type CourseType
is used as a compile-time check forCourse
=Compass<CourseType>
- Heading
Type HeadingType
is used as a compile-time check forHeading
=Compass<HeadingType>
- Track
Type TrackType
is used as a compile-time check forTrack
=Compass<TrackType>
Enums§
- Compass
Direction - Represents a generic compass direction, any one of
Heading
,Track
,Bearing
,Course
orAzimuth
- Compass
Reference - The “zero” reference point for a compass needle
- Rotation
Direction - The direction that a compass needle moves for “positive” increases
Type Aliases§
- Azimuth
- Represents a azimuth - the compass direction of a generic pointing angle
- Bearing
- Represents a bearing - the compass direction of your desired destination
- Course
- Represents a course - the compass direction of your desired track
- Heading
- Represents a heading - the compass direction that the entity is pointing
- Relative
Bearing - Represents the relative angle from a particular entities heading
- Track
- Represents a track - the compass direction that the entity is travelling