Click or drag to resize

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

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: T
Closest QGridPoint, null if none exists
See Also