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 nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond 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