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.
Namespace: DHI.Mike1D.GenericAssembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
public static ILocationSpan CreateSpanAroundLocation(
ILocation location,
double startDist,
double endDist
)
- 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)
ILocationSpanSpan around location.