VisibilitySegment.CalculateRefraction(Variable, Variable) Method

Top 

Description

Calculates the refracted ray from the observer to the target and returns the refracted distance. The Earth uses the WGS 84 (World Geodetic System 1984) reference ellipsoid.

 

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

VisibilitySegment.CalculateRefraction(

Variable epoch,


Variable distance)

 

 

Arguments

epoch


Description:

The epoch at which to evaluate the refraction calculation.

 

 

distance


Description:

The refracted distance between the observer and the target summed along the path of the refracted ray.

Valid Range:

distance ≥ 0

 

 

 

Return Value

Type:

boolean

 

 

Returns true if calculating the refracting target was successful and false if no solution could be calculated.

 

Syntax

myVariable1 = myVisibilitySegment1.CalculateRefraction(myVariable2, myVariable3);

 

 

See also

VisibilitySegment Object

VisibilitySegment.CalculateRefraction

Coverage and Contact Analysis Guide

Visibility Calculators Guide