LocationSpanContains Method (ILocation, Double) |
Decides wheather location is contained inside the location span or on the edge of the span.
Location comparisons are case insensitive, and uses the tolerance,
i.e., the location can be tolerance outside the span and still be contained.
Negative values for tolerance are allowed ("shortening" the span)
Namespace:
DHI.Mike1D.Generic
Assembly:
DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax public bool Contains(
ILocation location,
double tolerance
)
Public Function Contains (
location As ILocation,
tolerance As Double
) As Boolean
public:
virtual bool Contains(
ILocation^ location,
double tolerance
) sealed
Parameters
- location
- Type: DHI.Mike1D.GenericILocation
[Missing <param name="location"/> documentation for "M:DHI.Mike1D.Generic.LocationSpan.Contains(DHI.Mike1D.Generic.ILocation,System.Double)"]
- tolerance
- Type: SystemDouble
[Missing <param name="tolerance"/> documentation for "M:DHI.Mike1D.Generic.LocationSpan.Contains(DHI.Mike1D.Generic.ILocation,System.Double)"]
Return Value
Type:
Booleantrue if location has same branch name and chainage is inside interval
Implements
ILocationSpanContains(ILocation, Double)See Also