Click or drag to resize

ZLocation Methods

The ZLocation type exposes the following members.

Methods
  NameDescription
Public methodClone
Returns a deep clone of this object
Public methodCompareTo
Compares two ILocations. First id is compared, secondly chainage. This can be used to sort the ILocations, first alphabetically, secondly by chainage.
(Inherited from Location.)
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Location.)
Public methodEquals(ILocation)
Indicates whether the current object is equal to another object of the same type. The Location chainage must be within LOCATION_EQUAL_TOLERANCE.
(Inherited from Location.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
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 Location.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Location.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIDCompareTo
Compare the ID with the others ID.
(Inherited from Location.)
Public methodIDEquals(ILocation)
Check if the ID equals the others ID
(Inherited from Location.)
Public methodIDEquals(ILocationSpan)
Check if the ID equals the others ID, case ignored (culture invariant)
(Inherited from Location.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
This method os important when creating a node id from a location. It is important to act in _chainage == Constants.DELETEVALUE since this is how rivers are connected to pipes.
(Inherited from Location.)
Public methodToStringInUserUnits
Gives the textual representation of the string in user units.
(Inherited from Location.)
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