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)
Syntaxpublic CoverageGridPointWithResults FindNearestGridPoint(
Cartographic location
)
Public Function FindNearestGridPoint (
location As Cartographic
) As CoverageGridPointWithResults
public:
CoverageGridPointWithResults^ FindNearestGridPoint(
Cartographic location
)
member FindNearestGridPoint :
location : Cartographic -> CoverageGridPointWithResults
Parameters
- location
- Type: AGI.Foundation.Coordinates.Cartographic
The planetodetic location at which to search.
Return Value
Type:
CoverageGridPointWithResultsThe nearest grid point. If
GridPoints is empty or the
CentralBody is
null on the grid points, this returns
null.
RemarksThis method only works for static grids in the reference frame where the grid is created.
See Also