Spacecraft.AnnularShadowTimes(CelestialObject, TimeSpanArray, Array) Method

Top 

Description

Determines the entry time, exit time, and duration of a Spacecraft's pass through the shadow of a central body. Events are reported for annular shadow conditions only.

 

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.

 

Note: This is an interval method. See the Interval Methods page for more information.

Note: This method has a state. See the Methods and Properties with State page for more information.

 

Method Signature

Spacecraft.AnnularShadowTimes(

CelestialObject celestialObject,


TimeSpanArray EventTime,


Array EventType)

 

 

Arguments

celestialObject


Description:

CelestialObject to use as the occulting body

 

 

EventTime


Description:

The time that the event occurred.

 

The FF_Preferences.IntervalEventReportingBehavior property controls whether the start of propagation is reported as an event. By default, if the time in shadow starts before the beginning of the propagation span, FreeFlyer will label the start of the propagation as the start of the time in shadow.

 

 

EventType


Description:

The type of the event that occurred. Event type == 1 is entry into annular shadow. Event type == 2 is exit from annular shadow.

 

 

 

Return Value

Type:

number

 

 

Returns the number of elements filled into EventType and EventTime arrays.

 

Syntax

myVariable1 = mySpacecraft1.AnnularShadowTimes(myCelestialObject1, myTimeSpanArray1, myArray1);

 

 

Example 1

 

 

See also

Spacecraft Object

Spacecraft.AnnularShadowTimes

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide