Click or drag to resize

LocationRelative Class

A location that is relative, i.e. the exact chainage is not known.
Inheritance Hierarchy
SystemObject
  DHI.Mike1D.GenericLocationRelative

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 LocationRelative : ILocation, 
	IComparable, ICloneable, IEquatable<ILocation>

The LocationRelative type exposes the following members.

Constructors
  NameDescription
Public methodLocationRelative
Create a new relative location.
Top
Properties
  NameDescription
Public propertyChainage
Chainage. Unit: [m]
Public propertyID
Identification name
Public propertyLocationRelativeType
Where the location is.
Top
Methods
  NameDescription
Public methodClone
Creates a new object that is a copy of the current instance.
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.
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEquals(ILocation)
Indicates whether the current object is equal to another object of the same type.
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.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIDCompareTo
Compare the ID with the others ID.
Public methodIDEquals
Check if the ID equals the others ID
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodToStringInUserUnits
Returns a textual representation of the Location in user units
Top
Fields
  NameDescription
Protected field_id
ID of 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