Click or drag to resize

ZLocation Class

A location with a z-value
Inheritance Hierarchy

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class ZLocation : Location, IZLocation, 
	ILocation, IComparable, ICloneable, IEquatable<ILocation>

The ZLocation type exposes the following members.

Constructors
  NameDescription
Public methodZLocation(ILocation)
Create a ZLocation from an ILocation, setting a default Z value
Public methodZLocation(String, Double)
Create a ZLocation
Top
Properties
  NameDescription
Public propertyChainage
Chainage. Unit: [m]
(Inherited from Location.)
Public propertyExtensionData
Data from an extended DataContract not recognized here
(Inherited from Location.)
Public propertyID
Identification name
(Inherited from Location.)
Public propertyZ
Gets and sets the z-coordinate
Top
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
Fields
  NameDescription
Protected field_chainage
Position along the reach.
(Inherited from Location.)
Protected field_id
Identification name
(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