Spacecraft.ContactTimes(PointGroup, TimeSpanArray, Array) Method

Top 

Description

Contact is determined when contactPointGroup's line of sight to the Spacecraft is above contactPointGroup's elevation angle. Only the first point in the PointGroup is used for this analysis.

 

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.ContactTimes(

PointGroup contactPointGroup,


TimeSpanArray EventTime,


Array EventType)

 

 

Arguments

contactPointGroup


Description:

PointGroup whose first point defines the cone of contact.

 

 

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 contact starts before the beginning of the propagation span, FreeFlyer will label the start of the propagation as the start of contact.

 

 

EventType


Description:

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

 

 

 

Return Value

Type:

number

 

 

Returns the number of elements filled into EventType and EventTime arrays

 

Syntax

myVariable1 = mySpacecraft1.ContactTimes(myPointGroup1, myTimeSpanArray1, myArray1);

 

 

Example 1

 

 

See also

Spacecraft Object

Spacecraft.ContactTimes

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide