ILocation Interface |
Namespace: DHI.Mike1D.Generic
The ILocation type exposes the following members.
Name | Description | |
---|---|---|
Clone | Creates a new object that is a copy of the current instance. (Inherited from ICloneable.) | |
CompareTo | Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. (Inherited from IComparable.) | |
Equals | Indicates whether the current object is equal to another object of the same type. (Inherited from IEquatableILocation.) | |
FromString |
This method is made to get back from a Location.ToString(). It is therefor very important that any
changes in ToString are reflected in this method.
| |
IDCompareTo |
Compare the ID with the others ID.
| |
IDEquals |
Check if the ID equals the others ID.
| |
ToString |
This method os important when creating a node id from a location. It is important to
return something sensible if _chainge == Constants.DELETEVALUE since this is how rivers are connected to pipes.
| |
ToStringInUserUnits |
Returns a textual representation of the Location in user units
|
Name | Description | |
---|---|---|
ChainageAsDiagnosticsValue |
Get chainage as DiagnosticsValue (includes unit)
(Defined by GenericExtensions.) | |
ChainageEquals(Double) | Overloaded.
Returns true if the chainage equals, withing LOCATION_EQUAL_TOLERANCE (Defined by GenericExtensions.) | |
ChainageEquals(Double, Double) | Overloaded.
Returns true if the chainage equals, withing tolerance
(Defined by GenericExtensions.) |