Spacecraft.InView(Array, Sensor) Method

Top 

Description

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

 

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

Array viewedEarthPosition,


Sensor sensor)

 

 

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

 

 

sensor


Description:

Sensor on the calling Spacecraft to use for InView computation.

Repeatable:

1 to 30 times

 

 

 

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, mySensor1);

 

 

See also

Spacecraft Object

Spacecraft.InView

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide