Spacecraft.InView(Array) Method

Top 

Description

Returns a value of 1 when the viewedEarthPosition is in the view of any active sensor, and a 0 if not in view.

 

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.InView(

Array viewedEarthPosition)

 

 

Arguments

viewedEarthPosition


Description:

An Array containing the 3 components of a position vector that is in the Earth-Centered, Earth-Fixed Coordinate System to use as the target in the InView calculation.

Required Size:

At least 3

 

 

 

Return Value

Type:

boolean

 

 

Returns a value of 1 when the Region, PointGroup, or location specified by an Array is in the view of any active sensor, and a 0 if not in view.

 

Syntax

myVariable1 = mySpacecraft1.InView(myArray1);

 

 

See also

Spacecraft Object

Spacecraft.InView

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide