BlockageDiagram.LineOfSight(Spacecraft, Spacecraft) Method

Top 

Description

Determines if the source Spacecraft can see the target Spacecraft using the loaded blockage diagram. The source's body-fixed frame defines the base for the blockage diagram look angle frame orientation. No occultations are considered.

 

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

BlockageDiagram.LineOfSight(

Spacecraft source,


Spacecraft target)

 

 

Arguments

source


Description:

The Spacecraft from which to consider line-of-sight calculations. The body-fixed frame of source defines the base for the blockage diagram look angle frame orientation.

 

 

target


Description:

The target Spacecraft for line-of-sight calculations.

 

 

 

Return Value

Type:

boolean

 

 

Returns 1 if the source can see the target, 0 otherwise.

 

Syntax

myVariable1 = myBlockageDiagram1.LineOfSight(mySpacecraft1, mySpacecraft2);

 

 

See also

BlockageDiagram Object

BlockageDiagram.LineOfSight

Blockage Diagram Viewpoints Guide

Coverage and Contact Analysis Guide

Blockage Diagrams Guide