Spacecraft.GetRelativeCurvilinearState(Spacecraft, Variable) Method

Top 

Description

Returns the relative curvilinear state of the calling Spacecraft using the specified coordinates. Note that if the epochs of the calling Spacecraft and the refSC do not match, this will report an error.

 

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.GetRelativeCurvilinearState(

Spacecraft refSC,


Variable coordinates)

 

 

Arguments

refSC


Description:

The Spacecraft to which the reference state will be evaluted.

 

 

coordinates


Description:

The coordinate set in which the state elements will be evaluated.

Valid Values:

Value

Label

7

LVC (Cylindrical)

8

RIC Cylindrical

9

RIC Spherical

 

 

 

 

Return Value

Type:

Array of number (size = 6)

 

 

Returns the relative Curvilinear state in units of km and km/s.

 

Syntax

myArray1 = mySpacecraft1.GetRelativeCurvilinearState(mySpacecraft2, myVariable1);

 

 

See also

Spacecraft Object

Spacecraft.GetRelativeCurvilinearState

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide