Spacecraft.InView(Region, Sensor) Method

Top 

Description

Returns a value of 1 when the viewedRegion is in the view of 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(

Region viewedRegion,


Sensor sensor)

 

 

Arguments

viewedRegion


Description:

Region to use as the target in the InView calculation.

 

 

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

 

 

See also

Spacecraft Object

Spacecraft.InView

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide