24 namespace AlignmentSubsystem
85 Result.
x =
y * RHS.
z -
z * RHS.
y;
86 Result.
y =
z * RHS.
x -
x * RHS.
z;
87 Result.
z =
x * RHS.
y -
y * RHS.
x;
120 return x * RHS.
x +
y * RHS.
y +
z * RHS.
z;
127 return sqrt(
x *
x +
y *
y +
z *
z);
133 double length = sqrt(
x *
x +
y *
y +
z *
z);
The Angle class This class implements an angle type. This holds an angle that is always in the range ...
AlignmentPointSetEnum
The offsets to the fields in the alignment point set property.
@ ENTRY_OBSERVATION_JULIAN_DATE
AlignmentDatabaseActions
Action to perform on Alignment Database.
MountAlignment
Describe the alignment of a telescope axis. This is normally used to differentiate between equatorial...
enum INDI::AlignmentSubsystem::MountAlignment MountAlignment_t
Namespace to encapsulate INDI client, drivers, and mediator classes.
Entry in the in memory alignment database.
double RightAscension
Right ascension in decimal hours. N.B. libnova works in decimal degrees so conversion is always neede...
double ObservationJulianDate
TelescopeDirectionVector TelescopeDirection
Normalised vector giving telescope pointing direction. This is referred to elsewhere as the "apparent...
AlignmentDatabaseEntry()
Default constructor.
AlignmentDatabaseEntry(const AlignmentDatabaseEntry &Source)
Copy constructor.
const AlignmentDatabaseEntry & operator=(const AlignmentDatabaseEntry &RHS)
Override the assignment operator to provide a const version.
double Declination
Declination in decimal degrees.
int PrivateDataSize
This size in bytes of any private data.
std::unique_ptr< unsigned char > PrivateData
Private data associated with this sync point.
Holds a nomalised direction vector (direction cosines)
double operator^(const TelescopeDirectionVector &RHS) const
Override the ^ operator to return a dot product.
const TelescopeDirectionVector & operator*=(const double &RHS)
Override the *= operator to return a unary scalar product.
const TelescopeDirectionVector operator-(const TelescopeDirectionVector &RHS) const
Override the - operator to return a binary vector subtract.
void RotateAroundY(double Angle)
Rotate the reference frame around the Y axis. This has the affect of rotating the vector itself in th...
TelescopeDirectionVector(double X, double Y, double Z)
Copy constructor.
double Length() const
Return the length of the vector.
const TelescopeDirectionVector operator*(const TelescopeDirectionVector &RHS) const
Override the * operator to return a cross product.
TelescopeDirectionVector()
Default constructor.
const TelescopeDirectionVector operator*(const double &RHS) const
Override the * operator to return a scalar product.
void Normalise()
Normalise the vector.