Module s2::s1::chordangle
source · Structs
ChordAngle represents the angle subtended by a chord (i.e., the straight
line segment connecting two points on the sphere). Its representation
makes it very efficient for computing and comparing distances, but unlike
Angle it is only capable of representing angles between 0 and π radians.
Generally, ChordAngle should only be used in loops where many angles need
to be calculated and compared. Otherwise it is simpler to use Angle.
Constants
NEGATIVE represents a chord angle smaller than the zero angle.
The only valid operations on a NegativeChordAngle are comparisons and
Angle conversions.
RIGHT represents a chord angle of 90 degrees (a “right angle”).
STRAIGHT represents a chord angle of 180 degrees (a “straight angle”).
This is the maximum finite chord angle.