RelativeMotionUtilities.ConvertRelativePosition(Variable, Variable, Spacecraft, Array) Method

Top 

Description

Returns the relative position converted into the outputSystem.

 

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

RelativeMotionUtilities.ConvertRelativePosition(

Variable inputSystem,


Variable outputSystem,


Spacecraft referenceSC,


Array position)

 

 

Arguments

inputSystem


Description:

The coordinate system from which to convert.

Valid Values:

Value

Label

0

ICRF

1

VNB

2

LVLH

3

BCS

4

Geodetic

5

UVW

6

RIC

7

LVC (Cylindrical)

8

RIC Cylindrical

9

RIC Spherical

 

 

 

outputSystem


Description:

The coordinate system to which to convert.

Valid Values:

Value

Label

0

ICRF

1

VNB

2

LVLH

3

BCS

4

Geodetic

5

UVW

6

RIC

7

LVC (Cylindrical)

8

RIC Cylindrical

9

RIC Spherical

 

 

 

referenceSC


Description:

The Spacecraft to which the reference state will be evaluated.

 

 

position


Description:

Array containing the relative position to convert in the inputSystem.

Required Size:

3

 

 

 

Return Value

Type:

Array of number (size = 3)

Units:

km

 

 

Returns the converted position.

 

Syntax

myArray1 = RelativeMotionUtilities.ConvertRelativePosition(myVariable1, myVariable2, mySpacecraft1, myArray2);

 

 

See also

RelativeMotionUtilities Object