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