CoverageResultsFindNearestGridPoint Method (Cartesian) |
Given a cartesian 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(
Cartesian cartesianLocation
)
Public Function FindNearestGridPoint (
cartesianLocation As Cartesian
) As CoverageGridPointWithResults
public:
CoverageGridPointWithResults^ FindNearestGridPoint(
Cartesian cartesianLocation
)
member FindNearestGridPoint :
cartesianLocation : Cartesian -> CoverageGridPointWithResults
Parameters
- cartesianLocation
- Type: AGI.Foundation.CoordinatesCartesian
The location at which to search.
Return Value
Type:
CoverageGridPointWithResultsThe nearest grid point. If
GridPoints is empty, this returns null.
Exceptions Remarks This method only works for static grids in the reference frame where the grid is created. The grid point position will be evaluated at the start of availability.
See Also