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).

Definition

Namespace: DHI.Mike1D.Engine
Assembly: DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public T GetClosestGridPoint<T>(
	ILocation location
)
where T : IGridPoint

Parameters

location  ILocation

[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

T
Closest QGridPoint, null if none exists

See Also