Liking cljdoc? Tell your friends :D

org.soulspace.astronomy.angle

Angle functions and abstractions.

Angle functions and abstractions.
raw docstring

angle-unitsclj/s

source

convert-angleclj/smultimethod

Converts an angle 'a' to the given unit 'u'.

Converts an angle 'a' to the given unit 'u'.
sourceraw docstring

create-angleclj/s

(create-angle value unit)

Creates an angle record.

Creates an angle record.
sourceraw docstring

deg-to-dmsclj/s

(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.
sourceraw docstring

deg-to-haclj/s

(deg-to-ha a)

Converts an angle in degrees to an hour angle.

Converts an angle in degrees to an hour angle.
sourceraw docstring

dms-patternclj/s

source

dms-stringclj/s

(dms-string a)

Returns the string representation of the hour angle.

Returns the string representation of the hour angle.
sourceraw docstring

dms-to-degclj/s

(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.
sourceraw docstring

dms-to-radclj/s

(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.
sourceraw docstring

ha-to-degclj/s

(ha-to-deg ha)

Converts an hour angle to an angle in degrees.

Converts an hour angle to an angle in degrees.
sourceraw docstring

ha-to-hmsclj/s

(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.
sourceraw docstring

hms-patternclj/s

source

hms-stringclj/s

(hms-string h)

Returns the string representation of the hour angle.

Returns the string representation of the hour angle.
sourceraw docstring

hms-to-haclj/s

(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.
sourceraw docstring

hms-to-radclj/s

(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.
sourceraw docstring

IAngleclj/sprotocol

Protocol for Angles.

Protocol for Angles.

as-dms-stringclj/s

(as-dms-string this)

Returns a string representation as degrees, minutes and seconds.

Returns a string representation as degrees, minutes and seconds.

as-hms-stringclj/s

(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-unitclj/s

(as-unit this unit)

Returns the angle in the given unit.

Returns the angle in the given unit.

as-valueclj/s

(as-value this unit)

Returns the value of the angle in the given unit.

Returns the value of the angle in the given unit.

normalizeclj/s

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close