CoverageResultsFindNearestGridPoint Method (Point, JulianDate) |
Given a
Point and a date, 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(
Point location,
JulianDate date
)
Public Function FindNearestGridPoint (
location As Point,
date As JulianDate
) As CoverageGridPointWithResults
public:
CoverageGridPointWithResults^ FindNearestGridPoint(
Point^ location,
JulianDate date
)
member FindNearestGridPoint :
location : Point *
date : JulianDate -> CoverageGridPointWithResults
Parameters
- location
- Type: AGI.Foundation.GeometryPoint
The location at which to search. - date
- Type: AGI.Foundation.TimeJulianDate
The date at which to query the grid's location.
Return Value
Type:
CoverageGridPointWithResultsThe nearest grid point. If
GridPoints is empty, this returns null.
Remarks This method observes all grid points in the input query point's reference frame.
See Also