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