Terrain.ContainsLocation(Variable, Variable) Method

Top 

Description

Returns true if the provided latitude and longitude are contained in any of the terrain data files with this dataset.

 

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

Terrain.ContainsLocation(

Variable latitude,


Variable longitude)

 

 

Arguments

latitude


Description:

Latitude to query.

Valid Range:

-90 ≤ latitude ≤ 90

 

 

longitude


Description:

Longitude to query.

Valid Range:

-360 ≤ longitude ≤ 360

 

 

 

Return Value

Type:

number

 

 

Returns true if the provided latitude and longitude are contained in any of the terrain data files with this dataset.

 

Syntax

myVariable1 = myTerrain1.ContainsLocation(myVariable2, myVariable3);

 

 

See also

Terrain Object