Spacecraft.InView Method

Top 

Description

Returns a value of 1 when the Region, PointGroup, or location specified by an Array is in the view of the specified sensors, and a 0 if not in view. If no sensors are specified, any active sensor on the Spacecraft is used.

 

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.

 

Overload List

Signatures

Return Value

Description

Spacecraft.InView(Array viewedEarthPosition)

Variable

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

Spacecraft.InView(PointGroup viewedPointGroup)

Variable

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

Spacecraft.InView(Region viewedRegion)

Variable

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

Spacecraft.InView(Array viewedEarthPosition, Sensor sensor)

Variable

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

Spacecraft.InView(PointGroup viewedPointGroup, Sensor sensor)

Variable

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.

Spacecraft.InView(Region viewedRegion, Sensor sensor)

Variable

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

 

 

See also

Spacecraft Object

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide