BlockageDiagram.LineOfSight(Spacecraft, Array, Array) Method

Top 

Description

Determines if the source Spacecraft can see the target specified in the ICRF using the loaded blockage diagram. The source's body-fixed frame defines the base for the blockage diagram look angle frame orientation. The specified occulting bodies are also considered.

 

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

BlockageDiagram.LineOfSight(

Spacecraft source,


Array target,


Array occultingBodies)

 

 

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:

Defines a target position in the ICRF for line-of-sight calculations.

Required Size:

3

 

 

occultingBodies


Description:

Specifies which CelestialObjects to consider for occultations by body ID.

 

 

 

Return Value

Type:

boolean

 

 

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

 

Syntax

myVariable1 = myBlockageDiagram1.LineOfSight(mySpacecraft1, myArray1, myArray2);

 

 

See also

BlockageDiagram Object

BlockageDiagram.LineOfSight

Blockage Diagram Viewpoints Guide

Coverage and Contact Analysis Guide

Blockage Diagrams Guide