VisibilityCalculator.AddSegment(String) Method

Top 

Description

Creates a new VisibilitySegment as a child object of this VisibilityCalculator, with the option to specify a label. VisibilitySegment objects can also be created separately from VisibilityCalculator objects as standalone objects in FreeForm script.

 

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

VisibilityCalculator.AddSegment(

String segmentLabel)

 

 

Arguments

segmentLabel


Description:

The label for the newly added segment.

 

 

 

Return Value

Type:

number

 

 

Returns the index of the newly added VisibilitySegment.

 

Syntax

myVariable1 = myVisibilityCalculator1.AddSegment(myString1);

 

 

See also

VisibilityCalculator Object

VisibilityCalculator.AddSegment

Coverage and Contact Analysis Guide

Visibility Calculators Guide