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.2.419.0 (24.2.419.0)
Syntax public 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.CoordinatesCartographic
The planetodetic location at which to search.
Return Value
Type:
CoverageGridPointWithResultsThe 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