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 nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond 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:

timespan

Units:

s

 

 

Returns the duration of the total step taken.

 

Syntax

myTimeSpan1 = mySpacecraft1.StepToApsis(myVariable1, myVariable2);

 

 

See also

Spacecraft Object

Spacecraft.StepToApsis

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide