PoleAxis

Search for usage in LXR

#include <poleaxis.h>

Static Public Member Functions

static Rotations::V3 dirCos (const dms primary, const dms secondary)
 
static Rotations::V3 dirCos (const SkyPoint sp)
 
static Rotations::V3 poleAxis (SkyPoint p1, SkyPoint p2, SkyPoint p3)
 
static dms primary (Rotations::V3 dirCos)
 
static dms secondary (Rotations::V3 dirCos)
 
static SkyPoint skyPoint (Rotations::V3 dc)
 

Detailed Description

PoleAxis class handles determining the mount Ha axis position given three positions taken with the same mount declination.

Author
Chris Rowland
Version
1.0

Definition at line 20 of file poleaxis.h.

Member Function Documentation

◆ dirCos() [1/2]

Rotations::V3 PoleAxis::dirCos ( const dms primary,
const dms secondary )
static

dirCos converts primary and secondary angles to a directional cosine

Parameters
primaryangle, can be Ra, Ha, Azimuth or the corresponding axis values
secondaryangle, can be Dec, Altitude. 90 deg is the pole
Returns
V3 containing the directional cosine.

Definition at line 55 of file poleaxis.cpp.

◆ dirCos() [2/2]

Rotations::V3 PoleAxis::dirCos ( const SkyPoint sp)
static

dirCos converts a SkyPoint to a directional cosine

Parameters
spSkyPoint with the position
Returns
V3 containing the directional cosine.

Definition at line 63 of file poleaxis.cpp.

◆ poleAxis()

Rotations::V3 PoleAxis::poleAxis ( SkyPoint p1,
SkyPoint p2,
SkyPoint p3 )
static

poleAxis returns the pole axis vector given three SkyPoints with the same mount declination

Parameters
p1
p2
p3
Returns
vector giving the direction of the pole. The rotation between the three points determines which pole the other pole can be determined either by reversing the sign of the declination and adding 12 hrs to the Ha or by negating the vector

Definition at line 87 of file poleaxis.cpp.

◆ primary()

dms PoleAxis::primary ( Rotations::V3 dirCos)
static

primary returns the primary dms value in the directional cosine

Parameters
dirCos
Returns
primary angle, Ra, Ha, Azimuth etc.

Definition at line 68 of file poleaxis.cpp.

◆ secondary()

dms PoleAxis::secondary ( Rotations::V3 dirCos)
static

secondary returns the secondary dms angle in the directional cosine

Parameters
dirCos
Returns

Definition at line 75 of file poleaxis.cpp.

◆ skyPoint()

SkyPoint PoleAxis::skyPoint ( Rotations::V3 dc)
static

skyPoint returns a skypoint derived from the directional cosine vector

Parameters
dc
Returns

Definition at line 82 of file poleaxis.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:53:01 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.