Click or drag to resize

ITwoDLocation Methods

The ITwoDLocation type exposes the following members.

Methods
  NameDescription
Public methodClone
Creates a new object that is a copy of the current instance.
(Inherited from ICloneable.)
Public methodCompareTo
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.)
Public methodEquals
Indicates whether the current object is equal to another object of the same type.
(Inherited from IEquatableILocation.)
Public methodFromString
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.
(Inherited from ILocation.)
Public methodIDCompareTo
Compare the ID with the others ID.
(Inherited from ILocation.)
Public methodIDEquals
Check if the ID equals the others ID.
(Inherited from ILocation.)
Public methodToString
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.
(Inherited from ILocation.)
Public methodToStringInUserUnits
Returns a textual representation of the Location in user units
(Inherited from ILocation.)
Top
Extension Methods
  NameDescription
Public Extension MethodChainageAsDiagnosticsValue
Get chainage as DiagnosticsValue (includes unit)
(Defined by GenericExtensions.)
Public Extension MethodChainageEquals(Double)Overloaded.
Returns true if the chainage equals, withing LOCATION_EQUAL_TOLERANCE
(Defined by GenericExtensions.)
Public Extension MethodChainageEquals(Double, Double)Overloaded.
Returns true if the chainage equals, withing tolerance
(Defined by GenericExtensions.)
Top
See Also