BlockageDiagram.LineOfSight(Spacecraft, CelestialObject, Array) Method

Top 

Description

Determines if the source Spacecraft can see the target CelestialObject 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 millisecond timing precision mode.

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

 

Method Signature

BlockageDiagram.LineOfSight(

Spacecraft source,


CelestialObject 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:

The target CelestialObject of which the center is used for line-of-sight calculations.

 

 

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, myCelestialObject1, myArray1);

 

 

See also

BlockageDiagram Object

BlockageDiagram.LineOfSight

Blockage Diagram Viewpoints Guide

Coverage and Contact Analysis Guide

Blockage Diagrams Guide