Spacecraft.StepToApsis(Variable) Method

Top 

Description

Steps to the specified apsis of the Spacecraft's orbit based on its current central body. The next or previous apsis is selected based on the sign of the current propagator stepsize.

 

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)

 

 

Arguments

apsis


Description:

Apsis to which to step.

Valid Values:

Value

Label

0

Periapsis

1

Apoapsis

 

 

 

 

Return Value

Type:

timespan

Units:

s

 

 

Returns the duration of the total step taken.

 

Syntax

myTimeSpan1 = mySpacecraft1.StepToApsis(myVariable1);

 

 

See also

Spacecraft Object

Spacecraft.StepToApsis

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide