Home
last modified time | relevance | path

Searched refs:celestial_coords (Results 1 – 3 of 3) sorted by relevance

/dports/astro/starplot/starplot-0.95.5/src/classes/
H A Dstrings.cc204 starstrings::ra_to_strs(double ra, bool celestial_coords, bool symbols) in ra_to_strs() argument
212 ra /= (celestial_coords ? RAD_PER_HOUR : RAD_PER_DEGREE); in ra_to_strs()
221 if (h >= 24 && celestial_coords) { h %= 24; } in ra_to_strs()
222 if (h >= 360 && ! celestial_coords) { h %= 360; } in ra_to_strs()
229 result[0] += (celestial_coords ? in ra_to_strs()
233 result[1] += (celestial_coords ? in ra_to_strs()
237 result[2] += (celestial_coords ? in ra_to_strs()
264 bool celestial_coords) in strs_to_ra() argument
272 return result * (celestial_coords ? RAD_PER_HOUR : RAD_PER_DEGREE); in strs_to_ra()
287 bool celestial_coords) in strs_to_ra() argument
[all …]
H A Dstrings.h108 bool celestial_coords = true, bool symbols = false);
111 double strs_to_ra(const StringList &rastrings, bool celestial_coords = true);
115 const std::string &s, bool celestial_coords = true);
118 bool celestial_coords = true);
306 bool celestial_coords, bool symbols) in ra_to_str() argument
307 { return ra_to_strs(right_ascension,celestial_coords,symbols).flatten(spacer); } in ra_to_str()
315 bool celestial_coords) in str_to_ra() argument
316 { return strs_to_ra(StringList(rastring, tokenizer), celestial_coords); } in str_to_ra()
/dports/astro/starplot/starplot-0.95.5/src/gui/
H A Dchartdialogs.cc54 SolidAngle posn, bool celestial_coords ) in my_gtk_position_dialog() argument
63 if (celestial_coords) { in my_gtk_position_dialog()
84 StringList rastrings=starstrings::ra_to_strs(posn.getPhi(),celestial_coords); in my_gtk_position_dialog()