Click or drag to resize
PositionVector Class

Note: This API is now obsolete.

NOVAS-COM: PositionVector Class
Inheritance Hierarchy
SystemObject
  ASCOM.Astrometry.NOVASCOMPositionVector

Namespace: ASCOM.Astrometry.NOVASCOM
Assembly: ASCOM.Astrometry (in ASCOM.Astrometry.dll) Version: 6.0.0.0 (6.3.0.2839)
Syntax
[ObsoleteAttribute("This class will be withdrawn in the next major release, please use the SOFA or NOVAS31 classes instead")]
public class PositionVector

The PositionVector type exposes the following members.

Constructors
  NameDescription
Public methodPositionVector
Create a new, uninitialised position vector
Public methodPositionVector(Double, Double, Double, Double, Double, Double, Double)
Create a new position vector with supplied initial values
Public methodPositionVector(Double, Double, Double, Double, Double, Double, Double, Double, Double)
Create a new position vector with supplied initial values
Top
Properties
  NameDescription
Public propertyAzimuth
The azimuth coordinate (degrees, + east)
Public propertyDeclination
Declination coordinate
Public propertyDistance
Distance/Radius coordinate
Public propertyElevation
The elevation (altitude) coordinate (degrees, + up)
Public propertyLightTime
Light time from body to origin, days.
Public propertyRightAscension
RightAscension coordinate, hours
Public propertyx
Position cartesian x component
Public propertyy
Position cartesian y component
Public propertyz
Position cartesian z component
Top
Methods
  NameDescription
Public methodAberration
Adjust the position vector of an object for aberration of light
Public methodPrecess
Adjust the position vector for precession of equinoxes between two given epochs
Public methodProperMotion
Adjust the position vector for proper motion (including foreshortening effects)
Public methodSetFromSite
Initialize the PositionVector from a Site object and Greenwich apparent sidereal time.
Public methodSetFromSiteJD(Site, Double)
Initialize the PositionVector from a Site object using UTC Julian date
Public methodSetFromSiteJD(Site, Double, Double)
Initialize the PositionVector from a Site object using UTC Julian date and Delta-T
Public methodSetFromStar
Initialize the PositionVector from a Star object.
Top
Remarks
NOVAS-COM objects of class PositionVector contain vectors used for positions (earth, sites, stars and planets) throughout NOVAS-COM. Of course, its properties include the x, y, and z components of the position. Additional properties are right ascension and declination, distance, and light time (applicable to star positions), and Alt/Az (available only in PositionVectors returned by Star or Planet methods GetTopocentricPosition()). You can initialize a PositionVector from a Star object (essentially an FK5 or HIP catalog entry) or a Site (lat/long/height). PositionVector has methods that can adjust the coordinates for precession, aberration and proper motion. Thus, a PositionVector object gives access to some of the lower-level NOVAS functions.

Note: The equatorial coordinate properties of this object are dependent variables, and thus are read-only. Changing any cartesian coordinate will cause the equatorial coordinates to be recalculated.

See Also