Angle functions and abstractions.
Angle functions and abstractions.
Converts an angle 'a' to the given unit 'u'.
Converts an angle 'a' to the given unit 'u'.
(create-angle value unit)
Creates an angle record.
Creates an angle record.
(deg-to-dms a)
Converts an angle given in decimal degrees into an angle given in degrees, minutes and seconds.
Converts an angle given in decimal degrees into an angle given in degrees, minutes and seconds.
(deg-to-ha a)
Converts an angle in degrees to an hour angle.
Converts an angle in degrees to an hour angle.
(dms-string a)
Returns the string representation of the hour angle.
Returns the string representation of the hour angle.
(dms-to-deg dms)
(dms-to-deg sgn deg min)
(dms-to-deg sgn deg min sec)
Converts an angle given in degrees, minutes and seconds into an angle given in decimal degrees.
Converts an angle given in degrees, minutes and seconds into an angle given in decimal degrees.
(dms-to-rad dms)
Converts an angle given in degrees, minutes and seconds into an angle given in radians.
Converts an angle given in degrees, minutes and seconds into an angle given in radians.
(ha-to-deg ha)
Converts an hour angle to an angle in degrees.
Converts an hour angle to an angle in degrees.
(ha-to-hms ha)
Converts an hour angle given in decimal hours in an hour angle in hours, minutes and seconds.
Converts an hour angle given in decimal hours in an hour angle in hours, minutes and seconds.
(hms-string h)
Returns the string representation of the hour angle.
Returns the string representation of the hour angle.
(hms-to-ha hms)
(hms-to-ha h min)
(hms-to-ha h min sec)
Converts an hour angle given in hours minutes and seconds into a hour angle given in decimal hours.
Converts an hour angle given in hours minutes and seconds into a hour angle given in decimal hours.
(hms-to-rad hms)
Converts an hour angle given in hours minutes and seconds into an angle given in radians.
Converts an hour angle given in hours minutes and seconds into an angle given in radians.
Protocol for Angles.
Protocol for Angles.
(as-dms-string this)
Returns a string representation as degrees, minutes and seconds.
Returns a string representation as degrees, minutes and seconds.
(as-hms-string this)
Returns a string representation as an hour angle with minutes and seconds.
Returns a string representation as an hour angle with minutes and seconds.
(as-unit this unit)
Returns the angle in the given unit.
Returns the angle in the given unit.
(as-value this unit)
Returns the value of the angle in the given unit.
Returns the value of the angle in the given unit.
(normalize this)
Returns the angle in the range of [0°-360°[ degrees. Keeps the unit.
Returns the angle in the range of [0°-360°[ degrees. Keeps the unit.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close