TerrainProvider.InGlobalBounds Method |
Returns true if the coordinates are in global bounds which is:
[-π, π] for longitude and
[-π/2, π/2] for latitude.
Namespace:
AGI.Foundation.Terrain
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxprotected bool InGlobalBounds(
double longitude,
double latitude
)
Protected Function InGlobalBounds (
longitude As Double,
latitude As Double
) As Boolean
protected:
bool InGlobalBounds(
double longitude,
double latitude
)
member InGlobalBounds :
longitude : float *
latitude : float -> bool
Parameters
- longitude
- Type: System.Double
The longitude to check. - latitude
- Type: System.Double
The latitude to check.
Return Value
Type:
BooleanA boolean value indicating if the coordinates are in global bounds.
See Also