EngineReachGetClosestGridPointT Method |
Find the specified type of gridpoint which is closest to the given location.
It is assumed that the EngineReach max and mean chainages
are containing the given location (same location ID and
overlapping chainage).
Namespace:
DHI.Mike1D.Engine
Assembly:
DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax public T GetClosestGridPoint<T>(
ILocation location
)
where T : IGridPoint
Public Function GetClosestGridPoint(Of T As IGridPoint) (
location As ILocation
) As T
public:
generic<typename T>
where T : IGridPoint
T GetClosestGridPoint(
ILocation^ location
)
Parameters
- location
- Type: DHI.Mike1D.GenericILocation
[Missing <param name="location"/> documentation for "M:DHI.Mike1D.Engine.EngineReach.GetClosestGridPoint``1(DHI.Mike1D.Generic.ILocation)"]
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:DHI.Mike1D.Engine.EngineReach.GetClosestGridPoint``1(DHI.Mike1D.Generic.ILocation)"]
Return Value
Type:
TClosest QGridPoint, null if none exists
See Also