Spacecraft.TCA(Spacecraft, Variable, Variable) Method

Top 

Description

Returns the time of closest approach (TCA) between the primary Spacecraft and secondary 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.TCA(

Spacecraft Spacecraft,


Variable rangeAtTCA,


Variable tolerance)

 

 

Arguments

Spacecraft


Description:

The secondary object of the conjunction.

 

 

rangeAtTCA


Description:

The output variable for the range between the primary and secondary objects at the TCA, given in units of km.

Units:

km

 

 

tolerance


Description:

The tolerance used to determine the TCA.

Units:

s

Valid Range:

tolerance ≥ 0.001

 

 

 

Return Value

Type:

number

Units:

day

 

 

Returns the epoch for the time of closest approach (TCA).

 

Syntax

myVariable1 = mySpacecraft1.TCA(mySpacecraft2, myVariable2, myVariable3);

 

 

See also

Spacecraft Object

Spacecraft.TCA

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide