GenericExtensionsOverLap(ILocationSpan, ILocationSpan) Method
Calculate overlap of location span and 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,
ILocationSpan other
)
- span ILocationSpan
[Missing <param name="span"/> documentation for "M:DHI.Mike1D.Generic.GenericExtensions.OverLap(DHI.Mike1D.Generic.ILocationSpan,DHI.Mike1D.Generic.ILocationSpan)"]
- other ILocationSpan
[Missing <param name="other"/> documentation for "M:DHI.Mike1D.Generic.GenericExtensions.OverLap(DHI.Mike1D.Generic.ILocationSpan,DHI.Mike1D.Generic.ILocationSpan)"]
Double[Missing <returns> documentation for "M:DHI.Mike1D.Generic.GenericExtensions.OverLap(DHI.Mike1D.Generic.ILocationSpan,DHI.Mike1D.Generic.ILocationSpan)"]
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).