13 namespace AlignmentSubsystem
58 Vector.x = cos(PolarAngle) * cos(AzimuthAngle);
59 Vector.y = cos(PolarAngle) * sin(AzimuthAngle);
60 Vector.z = sin(PolarAngle);
64 Vector.x = sin(PolarAngle) * sin(AzimuthAngle);
65 Vector.y = sin(PolarAngle) * cos(AzimuthAngle);
66 Vector.z = cos(PolarAngle);
73 Vector.x = cos(PolarAngle) * cos(-AzimuthAngle);
74 Vector.y = cos(PolarAngle) * sin(-AzimuthAngle);
75 Vector.z = sin(PolarAngle);
79 Vector.x = sin(PolarAngle) * sin(-AzimuthAngle);
80 Vector.y = sin(PolarAngle) * cos(-AzimuthAngle);
81 Vector.z = cos(PolarAngle);
const TelescopeDirectionVector TelescopeDirectionVectorFromSphericalCoordinate(const double AzimuthAngle, AzimuthAngleDirection_t AzimuthAngleDirection, const double PolarAngle, PolarAngleDirection_t PolarAngleDirection)
Calculates a telescope direction vector from the supplied spherical coordinate information.
void SphericalCoordinateFromTelescopeDirectionVector(const TelescopeDirectionVector TelescopeDirectionVector, double &AzimuthAngle, AzimuthAngleDirection_t AzimuthAngleDirection, double &PolarAngle, PolarAngleDirection_t PolarAngleDirection)
Calculates a spherical coordinate from the supplied telescope direction vector.
The Vector class This implements the Directional Cosine used by Taki in his Matrix method....
Namespace to encapsulate INDI client, drivers, and mediator classes.
Holds a nomalised direction vector (direction cosines)