Spacecraft.Contact(Spacecraft) Method

Top 

Description

If contactingSpacecraft has no Sensors, then contact occurs when there is a line of sight between contactingSpacecraft and the calling Spacecraft. If contactingSpacecraft has Sensors, contact occurs when one of those Sensors can "see" the calling Spacecraft.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Method Signature

Spacecraft.Contact(

Spacecraft contactingSpacecraft)

 

 

Arguments

contactingSpacecraft


Description:

Target Spacecraft 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);

 

 

See also

Spacecraft Object

Spacecraft.Contact

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide