LocationCreateSpanAroundLocation Method

Create a LocationSpan around the given location, that goes startDist up and endDist down from the chainage of the location. Span will go from location.Chainage-startDist to location.Chainage+endDist.

Definition

Namespace: DHI.Mike1D.Generic
Assembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public static ILocationSpan CreateSpanAroundLocation(
	ILocation location,
	double startDist,
	double endDist
)

Parameters

location  ILocation
Location to make span around
startDist  Double
Distance from location in negative chainage direction (positive number)
endDist  Double
Distance from location in positive chainage direction (positive number)

Return Value

ILocationSpan
Span around location.

See Also