Instrument Neutral Distributed Interface INDI 2.2.5
EQ500X::MechanicalPoint Class Reference

#include <eq500x.h>

Public Types

enum  PointingState { POINTING_NORMAL , POINTING_BEYOND_POLE }

Public Member Functions

 MechanicalPoint (double, double)
 MechanicalPoint ()
bool atParkingPosition () const
double RAm () const
double DECm () const
double RAm (double const)
double DECm (double const)
double RAsky () const
double DECsky () const
double RAsky (double const)
double DECsky (double const)
enum PointingState setPointingState (enum PointingState)
enum PointingState getPointingState () const
bool parseStringDEC (char const *, size_t)
bool parseStringRA (char const *, size_t)
char const * toStringDEC (char *, size_t) const
char const * toStringRA (char *, size_t) const
char const * toStringDEC_Sim (char *, size_t) const
double RA_degrees_to (MechanicalPoint const &) const
double DEC_degrees_to (MechanicalPoint const &) const
double operator- (MechanicalPoint const &) const
bool operator!= (MechanicalPoint const &) const
bool operator== (MechanicalPoint const &) const

Protected Attributes

long _RAm {0 * 3600}
long _DECm {0 * 3600}

Detailed Description

Definition at line 31 of file eq500x.h.

Member Enumeration Documentation

◆ PointingState

Enumerator
POINTING_NORMAL 
POINTING_BEYOND_POLE 

Definition at line 49 of file eq500x.h.

Constructor & Destructor Documentation

◆ MechanicalPoint() [1/2]

EQ500X::MechanicalPoint::MechanicalPoint ( double ra,
double dec )

Definition at line 908 of file eq500x.cpp.

◆ MechanicalPoint() [2/2]

EQ500X::MechanicalPoint::MechanicalPoint ( )
inline

Definition at line 35 of file eq500x.h.

Member Function Documentation

◆ atParkingPosition()

bool EQ500X::MechanicalPoint::atParkingPosition ( ) const

Definition at line 914 of file eq500x.cpp.

◆ DEC_degrees_to()

double EQ500X::MechanicalPoint::DEC_degrees_to ( EQ500X::MechanicalPoint const & b) const

Definition at line 1254 of file eq500x.cpp.

◆ DECm() [1/2]

double EQ500X::MechanicalPoint::DECm ( ) const

Definition at line 925 of file eq500x.cpp.

◆ DECm() [2/2]

double EQ500X::MechanicalPoint::DECm ( double const value)

Definition at line 936 of file eq500x.cpp.

◆ DECsky() [1/2]

double EQ500X::MechanicalPoint::DECsky ( ) const

Definition at line 962 of file eq500x.cpp.

◆ DECsky() [2/2]

double EQ500X::MechanicalPoint::DECsky ( double const _DECsky)

Definition at line 987 of file eq500x.cpp.

◆ getPointingState()

enum EQ500X::MechanicalPoint::PointingState EQ500X::MechanicalPoint::getPointingState ( ) const

Definition at line 1285 of file eq500x.cpp.

◆ operator!=()

bool EQ500X::MechanicalPoint::operator!= ( EQ500X::MechanicalPoint const & b) const

Definition at line 1268 of file eq500x.cpp.

◆ operator-()

double EQ500X::MechanicalPoint::operator- ( EQ500X::MechanicalPoint const & b) const

Definition at line 1260 of file eq500x.cpp.

◆ operator==()

bool EQ500X::MechanicalPoint::operator== ( EQ500X::MechanicalPoint const & b) const

Definition at line 1274 of file eq500x.cpp.

◆ parseStringDEC()

bool EQ500X::MechanicalPoint::parseStringDEC ( char const * buf,
size_t buf_length )

Definition at line 1130 of file eq500x.cpp.

◆ parseStringRA()

bool EQ500X::MechanicalPoint::parseStringRA ( char const * buf,
size_t buf_length )

Definition at line 1015 of file eq500x.cpp.

◆ RA_degrees_to()

double EQ500X::MechanicalPoint::RA_degrees_to ( EQ500X::MechanicalPoint const & b) const

Definition at line 1243 of file eq500x.cpp.

◆ RAm() [1/2]

double EQ500X::MechanicalPoint::RAm ( ) const

Definition at line 920 of file eq500x.cpp.

◆ RAm() [2/2]

double EQ500X::MechanicalPoint::RAm ( double const value)

Definition at line 930 of file eq500x.cpp.

◆ RAsky() [1/2]

double EQ500X::MechanicalPoint::RAsky ( ) const

Definition at line 950 of file eq500x.cpp.

◆ RAsky() [2/2]

double EQ500X::MechanicalPoint::RAsky ( double const _RAsky)

Definition at line 973 of file eq500x.cpp.

◆ setPointingState()

enum EQ500X::MechanicalPoint::PointingState EQ500X::MechanicalPoint::setPointingState ( enum PointingState)

Definition at line 1279 of file eq500x.cpp.

◆ toStringDEC()

char const * EQ500X::MechanicalPoint::toStringDEC ( char * buf,
size_t buf_length ) const

Definition at line 1114 of file eq500x.cpp.

◆ toStringDEC_Sim()

char const * EQ500X::MechanicalPoint::toStringDEC_Sim ( char * buf,
size_t buf_length ) const

Definition at line 1035 of file eq500x.cpp.

◆ toStringRA()

char const * EQ500X::MechanicalPoint::toStringRA ( char * buf,
size_t buf_length ) const

Definition at line 1001 of file eq500x.cpp.

Member Data Documentation

◆ _DECm

long EQ500X::MechanicalPoint::_DECm {0 * 3600}
protected

Definition at line 68 of file eq500x.h.

◆ _RAm

long EQ500X::MechanicalPoint::_RAm {0 * 3600}
protected

Definition at line 68 of file eq500x.h.


The documentation for this class was generated from the following files: