ZLocation Class |
Namespace: DHI.Mike1D.Generic
The ZLocation type exposes the following members.
Name | Description | |
---|---|---|
ZLocation(ILocation) |
Create a ZLocation from an ILocation, setting a default Z value
| |
ZLocation(String, Double) |
Create a ZLocation
|
Name | Description | |
---|---|---|
Chainage |
Chainage.
Unit: [m]
(Inherited from Location.) | |
ExtensionData |
Data from an extended DataContract not recognized here
(Inherited from Location.) | |
ID |
Identification name
(Inherited from Location.) | |
Z |
Gets and sets the z-coordinate
|
Name | Description | |
---|---|---|
Clone |
Returns a deep clone of this object
| |
CompareTo |
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.) | |
Equals(Object) | (Inherited from Location.) | |
Equals(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.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
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.
(Inherited from Location.) | |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Location.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IDCompareTo |
Compare the ID with the others ID.
(Inherited from Location.) | |
IDEquals(ILocation) |
Check if the ID equals the others ID
(Inherited from Location.) | |
IDEquals(ILocationSpan) |
Check if the ID equals the others ID, case ignored (culture invariant)
(Inherited from Location.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString |
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.) | |
ToStringInUserUnits |
Gives the textual representation of the string in user units.
(Inherited from Location.) |
Name | Description | |
---|---|---|
_chainage |
Position along the reach.
(Inherited from Location.) | |
_id | Identification name (Inherited from Location.) |
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.) |