Click or drag to resize

CoverageResults.FindNearestGridPoint Method (Cartographic)

Given a planetodetic cartographic location, find the nearest grid point according to physical distance.

Namespace:  AGI.Foundation.Coverage
Assembly:  AGI.Foundation.Spatial (in AGI.Foundation.Spatial.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public CoverageGridPointWithResults FindNearestGridPoint(
	Cartographic location
)

Parameters

location
Type: AGI.Foundation.Coordinates.Cartographic
The planetodetic location at which to search.

Return Value

Type: CoverageGridPointWithResults
The nearest grid point. If GridPoints is empty or the CentralBody is null on the grid points, this returns null.
Remarks
This method only works for static grids in the reference frame where the grid is created.
See Also