28 namespace AlignmentSubsystem
110 double &RightAscension,
double &Declination);
114 std::vector<ExtendedAlignmentDatabaseEntry> ExtendedAlignmentPoints;
124 double SphereUnitDistance(
double theta1,
double theta2,
double phi1,
double phi2);
This class provides the driver side API to the in memory alignment database.
InMemoryDatabase * pInMemoryDatabase
virtual bool Initialise(InMemoryDatabase *pInMemoryDatabase)
Initialise or re-initialise the math plugin. Re-reading the in memory database as necessary.
virtual bool TransformTelescopeToCelestial(const TelescopeDirectionVector &ApparentTelescopeDirectionVector, double &RightAscension, double &Declination)
Get the true celestial coordinates for the supplied telescope pointing direction.
virtual bool TransformCelestialToTelescope(const double RightAscension, const double Declination, double JulianOffset, TelescopeDirectionVector &ApparentTelescopeDirectionVector)
Get the alignment corrected telescope pointing direction for the supplied celestial coordinates.
virtual ~NearestMathPlugin()
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...
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.
double CelestialAzimuth
Celestial Azimuth of Sync Point at the time it was added to the list.
const ExtendedAlignmentDatabaseEntry & operator=(const ExtendedAlignmentDatabaseEntry &RHS)
Override the assignment operator to provide a const version.
double TelescopeAzimuth
Telescope Azimuth of Sync Point at the time it was added to the list.
ExtendedAlignmentDatabaseEntry(const ExtendedAlignmentDatabaseEntry &Source)
Copy constructor.
double TelescopeAltitude
Telescope Altitude of the Sync point at the time it was added to the list.
double CelestialAltitude
Celestial Altitude of the Sync point at the time it was added to the list.
ExtendedAlignmentDatabaseEntry()
Default constructor.
Holds a nomalised direction vector (direction cosines)