GenericExtensionsOverLap(ILocationSpan, Double, Double) Method
Calculate overlap of location span and the chainages of another locationSpan.
If the result is positive, the value is the actual overlap.
If the result is negative, there is no overlap, and the value is the negative distance between the two spans.
Namespace: DHI.Mike1D.GenericAssembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
public static double OverLap(
this ILocationSpan span,
double startChainage,
double endChainage
)
- span ILocationSpan
[Missing <param name="span"/> documentation for "M:DHI.Mike1D.Generic.GenericExtensions.OverLap(DHI.Mike1D.Generic.ILocationSpan,System.Double,System.Double)"]
- startChainage Double
[Missing <param name="startChainage"/> documentation for "M:DHI.Mike1D.Generic.GenericExtensions.OverLap(DHI.Mike1D.Generic.ILocationSpan,System.Double,System.Double)"]
- endChainage Double
[Missing <param name="endChainage"/> documentation for "M:DHI.Mike1D.Generic.GenericExtensions.OverLap(DHI.Mike1D.Generic.ILocationSpan,System.Double,System.Double)"]
Double[Missing <returns> documentation for "M:DHI.Mike1D.Generic.GenericExtensions.OverLap(DHI.Mike1D.Generic.ILocationSpan,System.Double,System.Double)"]
In Visual Basic and C#, you can call this method as an instance method on any object of type
ILocationSpan. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).