Directional antennae.
More...
#include <Directional.h>
|
| Directional () |
| Default constructor.
|
virtual double | get_vertical () const |
| Get the counter-clockwise angle from north toward zenith in radians.
|
double | get_parallactic_angle () const |
| Synonym for vertical angle.
|
| Mount () |
| Default constructor.
|
virtual | ~Mount () |
| Destructor.
|
void | set_source_coordinates (const sky_coord &coords) |
| Set the coordinates of the source.
|
void | set_observatory_latitude (double latitude) |
| Set the latitude of the observatory in radians.
|
double | get_observatory_latitude () const |
void | set_observatory_longitude (double longitude) |
| Set the longitude of the observatory in radians East of Greenwich.
|
double | get_observatory_longitude () const |
void | set_epoch (const MJD &epoch) |
| Set the epoch in Modified Julian Days.
|
MJD | get_epoch () const |
void | set_hour_angle (double rad) |
| Set the hour_angle in radians.
|
double | get_hour_angle () const |
| Get the hour_angle in radians.
|
void | set_local_sidereal_time (double rad) |
| Set the LST in radians.
|
double | get_local_sidereal_time () const |
| Get the LST in radians.
|
virtual std::string | get_name () const =0 |
| Get the name of the mount.
|
virtual std::vector< std::pair< double, Mount * > > | slew_times (const sky_coord &coords) |
| Return all possible slew times and resulting telescope states.
|
| Able () |
| Default constructor.
|
| Able (const Able &) |
| Copy constructor.
|
Able & | operator= (const Able &) |
| Assignment operator.
|
virtual | ~Able () |
| Destructor.
|
unsigned | get_reference_count () const |
| Returns the number of references there are to this.
|
| HeapTracked () |
| Default constructor.
|
| HeapTracked (const HeapTracked &) |
| Copy constructor.
|
HeapTracked & | operator= (const HeapTracked &) |
| Assignment operator.
|
virtual | ~HeapTracked () |
| Destructor.
|
bool | __is_on_heap () const |
| Return true if this instance is found in heap addresses.
|
|
virtual Matrix< 3, 3, double > | get_basis (const Vector< 3, double > &from_source) const =0 |
| Get the receptor basis in the reference frame of the observatory.
|
void | build () const |
| Lazily evaluate.
|
bool | get_built () const |
| Return true when outputs reflect inputs.
|
Handle * | __reference (bool active) const |
| Add the address of a reference to this object.
|
void | __dereference (bool auto_delete=true) const |
| Remove the address of a reference to this object.
|
|
double | vertical |
| The parallactic angle in radians.
|
double | declination |
| The declination of the source in radians.
|
double | right_ascension |
| The right ascension of the source in radians.
|
double | latitude |
| The latitude of the observatory in radians.
|
double | longitude |
| The latitude of the observatory in radians East of Greenwich.
|
MJD | epoch |
| The epoch.
|
double | lst |
| The LST in radians.
|
double | hour_angle |
| The hour angle in radians.
|
Matrix< 3, 3, double > | source_basis |
| Basis pointing to source in celestial reference frame.
|
Matrix< 3, 3, double > | observatory_basis |
| Basis pointing to observatory in celestial reference frame.
|
|
static size_t | get_instance_count () |
| Returns the current number instances in existence.
|
static void * | operator new (size_t size, void *ptr=0) |
| Records the addresses of new instances allocated on the heap.
|
static void | operator delete (void *location, void *ptr) |
| Placement delete overload to match the placement new overload.
|
static void | operator delete (void *location) |
| Regular delete overload.
|
static size_t | get_heap_queue_size () |
| Return the number of heap addresses awaiting processing.
|
◆ build()
void Directional::build |
( |
| ) |
const |
|
protectedvirtual |
Lazily evaluate.
Reimplemented from Mount.
References Mount::build(), get_basis(), Mount::get_built(), Mount::observatory_basis, Mount::source_basis, and vertical.
Referenced by Horizon::get_azimuth(), Horizon::get_elevation(), get_vertical(), Meridian::get_x(), Meridian::get_y(), and Horizon::get_zenith().
◆ get_basis()
virtual Matrix< 3, 3, double > Directional::get_basis |
( |
const Vector< 3, double > & | from_source | ) |
const |
|
protectedpure virtual |
Get the receptor basis in the reference frame of the observatory.
Implemented in Horizon, and Meridian.
Referenced by build().
◆ get_vertical()
double Directional::get_vertical |
( |
| ) |
const |
|
virtual |
Get the counter-clockwise angle from north toward zenith in radians.
Any point on the sky is crossed by two great circles: one that passes through celestial north and one that passes through zenith. (These great circles coincide when the source is on the meridian.) If vector N points in the direction of celestial north and vector Z points in the direction of zenith, then the vertical angle is measured counter-clockwise from N to Z.
The vertical angle is positive when the source is west of the meridian, and negative for sources in the east.
Implements Mount.
References build(), and vertical.
Referenced by get_parallactic_angle().
The documentation for this class was generated from the following files: