Spacecraft.GetApoapsisVector(Variable) Method

Top 

Description

Returns the X, Y, Z unit vector of the Spacecraft's apoapsis vector referenced to the chosen coordinate frame. This value is only valid for elliptical cases (e < 1), it is invalid for hyperbolic orbits (e > 1) and will report an error. The reference frame will be evaluated at the Spacecraft's epoch.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

Spacecraft.GetApoapsisVector(

Variable referenceFrame)

 

 

Arguments

referenceFrame


Description:

The reference frame in which the vector will be evaluated.

Valid Values:

Value

Label

0

ICRF

1

Mean of J2000 Earth Ecliptic

 

 

 

 

Return Value

Type:

Array of number (size = 3)

 

 

Returns the apoapsis vector.

 

Syntax

myArray1 = mySpacecraft1.GetApoapsisVector(myVariable1);

 

 

See also

Spacecraft Object

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide