Spacecraft.Contact(Spacecraft, Sensor) Method

Top 

Description

If contactingSensor can "see" the calling Spacecraft, contact occurs.

 

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

Spacecraft parentSpacecraft,


Sensor contactingSensor)

 

 

Arguments

parentSpacecraft


Description:

Parent Spacecraft of the Sensor in the next argument.

 

 

contactingSensor


Description:

Sensor to use to determine contact.

 

 

 

Return Value

Type:

boolean

 

 

Returns 1 if there is contact, 0 if there is not.

 

Syntax

myVariable1 = mySpacecraft1.Contact(mySpacecraft2, mySensor1);

 

 

See also

Spacecraft Object

Spacecraft.Contact

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide