  # Trig Class

Provides functions and constants which are useful when working with angles and solving problems related to trigonometry. Inheritance Hierarchy
SystemObject
AGI.FoundationTrig

Namespace:  AGI.Foundation
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 19.3.400.0 (19.3.400.0) Syntax
`public static class Trig`

The Trig type exposes the following members. Methods
NameDescription  AreAnglesEquivalent
Checks to see whether the two given angles represent the same direction in the unit circle, regardless of any multiples of TwoPi.  DegreesMinutesSecondsToRadians(DegreesMinutesSeconds)
Converts the specified number of revolutions, degrees, minutes, and seconds to radians.  DegreesMinutesSecondsToRadians(Int32, Int32, Int32, Double)
Converts the specified number of revolutions, degrees, minutes, and seconds to radians.  DegreesToRadians
Converts degrees to radians.  GetSmallSpan
Get the signed small span between two arbitrary angles, in radians. This will return the angle in radians between minus Pi and Pi representing the angular distance between the two given angles. It will remove the effect of 'winding' and compare the angular distance on the unit circle.  IsAngleInRange
Checks to see if an angle is within the indicated range of values.  NegativePiToPi
Produces an angle in the range -Pi < angle <= Pi which is equivalent to the provided angle.  PutAngleInRange
Attempts to put an angle within the indicated range of values.  RadiansToDegrees
Converts radians to degrees.  RadiansToDegreesMinutesSeconds
Converts the specified angle in radians to revolutions, degrees, minutes, and seconds.  TryPutAngleInRange
Attempts to put an angle within the indicated range of values.  ZeroToTwoPi
Produces an angle in the range 0 <= angle < 2Pi which is equivalent to the provided angle.
Top Fields
NameDescription  AngleEpsilon
Represents the smallest positive angle greater than zero for which the Cos(Double) function will produce a distinct value.
Top See Also