Instrument Neutral Distributed Interface INDI  2.0.2
Public Types | Public Member Functions | Protected Attributes | List of all members
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 901 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 907 of file eq500x.cpp.

◆ DEC_degrees_to()

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

Definition at line 1247 of file eq500x.cpp.

◆ DECm() [1/2]

double EQ500X::MechanicalPoint::DECm ( ) const

Definition at line 918 of file eq500x.cpp.

◆ DECm() [2/2]

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

Definition at line 929 of file eq500x.cpp.

◆ DECsky() [1/2]

double EQ500X::MechanicalPoint::DECsky ( ) const

Definition at line 955 of file eq500x.cpp.

◆ DECsky() [2/2]

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

Definition at line 980 of file eq500x.cpp.

◆ getPointingState()

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

Definition at line 1267 of file eq500x.cpp.

◆ operator!=()

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

Definition at line 1261 of file eq500x.cpp.

◆ operator-()

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

Definition at line 1253 of file eq500x.cpp.

◆ operator==()

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

Definition at line 1267 of file eq500x.cpp.

◆ parseStringDEC()

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

Definition at line 1123 of file eq500x.cpp.

◆ parseStringRA()

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

Definition at line 1008 of file eq500x.cpp.

◆ RA_degrees_to()

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

Definition at line 1236 of file eq500x.cpp.

◆ RAm() [1/2]

double EQ500X::MechanicalPoint::RAm ( ) const

Definition at line 913 of file eq500x.cpp.

◆ RAm() [2/2]

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

Definition at line 923 of file eq500x.cpp.

◆ RAsky() [1/2]

double EQ500X::MechanicalPoint::RAsky ( ) const

Definition at line 943 of file eq500x.cpp.

◆ RAsky() [2/2]

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

Definition at line 966 of file eq500x.cpp.

◆ setPointingState()

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

Definition at line 1267 of file eq500x.cpp.

◆ toStringDEC()

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

Definition at line 1107 of file eq500x.cpp.

◆ toStringDEC_Sim()

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

Definition at line 1028 of file eq500x.cpp.

◆ toStringRA()

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

Definition at line 994 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: