Spacecraft.Occult(PointGroup) Method

Top 

Description

Returns a 1 when the referencePositionPointGroup is occulted or 0 when it is not. Only the first point in the PointGroup is used for this analysis. When multiple objects are specified, the method returns a '1' if any of the objects are occulted and '0' if none are occulted.

 

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

PointGroup referencePositionPointGroup)

 

 

Arguments

referencePositionPointGroup


Description:

PointGroup whose first point will be checked for occultation with the calling Spacecraft. Only the first point in the PointGroup is used for this analysis.

Repeatable:

1 to 30 times

 

 

 

Return Value

Type:

boolean

 

 

Returns a 1 when the object is occulted or 0 when it is not. When multiple objects are specified, the method returns a '1' if any of the objects are occulted and '0' if none are occulted.

 

Syntax

myVariable1 = mySpacecraft1.Occult(myPointGroup1);

 

 

See also

Spacecraft Object

Spacecraft.Occult

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide