Click or drag to resize

CoverageResultsFindNearestGridPoint 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.1.418.0 (24.1.418.0)
Syntax
public CoverageGridPointWithResults FindNearestGridPoint(
	Cartographic location
)

Parameters

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

Return Value

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