Kstars
SpatialVector.cpp
33SpatialVector::SpatialVector(float64 x, float64 y, float64 z) : x_(x), y_(y), z_(z), okRaDec_(false)
SpatialVector is a 3D vector usually living on the surface of the sphere.
Definition SpatialVector.h:33
float64 dec()
return dec - this norms the vector to 1 if not already done so
Definition SpatialVector.cpp:96
float64 ra()
return ra - this norms the vector to 1 if not already done so
Definition SpatialVector.cpp:86
void set(const float64 &x, const float64 &y, const float64 &z)
Set member function: set values - always normed to 1.
Definition SpatialVector.cpp:47
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 12:05:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 12:05:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.