CoverageResults.FindNearestGridPoint 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.3.420.0 (24.3.420.0)
Syntaxpublic 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.Coordinates.Cartesian
The location at which to search.
Return Value
Type:
CoverageGridPointWithResultsThe nearest grid point. If
GridPoints is empty, this returns null.
Exceptions
RemarksThis 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