Spacecraft.InView(PointGroup, Sensor) Method

Top 

Description

Returns a value of 1 when the first point in the viewedPointGroup is in the view of sensor, and a 0 if not in view. Only the first point in the PointGroup is used for this analysis.

 

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(

PointGroup viewedPointGroup,


Sensor sensor)

 

 

Arguments

viewedPointGroup


Description:

PointGroup whose first point will be used in the InView calculation. Only the first point in the PointGroup is used to determine the target position.

 

 

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

 

 

See also

Spacecraft Object

Spacecraft.InView

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide