Spacecraft.StepToApsis(Variable, Variable) Method

Top 

Description

Steps to the specified apsis of the Spacecraft's orbit based on its current central body, in the specified direction.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

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

 

Method Signature

Spacecraft.StepToApsis(

Variable apsis,


Variable direction)

 

 

Arguments

apsis


Description:

Apsis to which to step.

Valid Values:

Value

Label

0

Periapsis

1

Apoapsis

 

 

 

direction


Description:

Direction in which to step.

Valid Values:

Value

Label

0

Next

1

Previous

 

 

 

 

Return Value

Type:

number

Units:

s

 

 

Returns the duration of the total step taken.

 

Syntax

myVariable1 = mySpacecraft1.StepToApsis(myVariable2, myVariable3);

 

 

See also

Spacecraft Object

Spacecraft.StepToApsis

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide