VisibilitySegment.CalculateRefraction(TimeSpan, 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 nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

VisibilitySegment.CalculateRefraction(

TimeSpan 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(myTimeSpan1, myVariable2);

 

 

See also

VisibilitySegment Object

VisibilitySegment.CalculateRefraction

Coverage and Contact Analysis Guide

Visibility Calculators Guide