Click or drag to resize

TwoDLocation Class

Location used when working with 2D or 3D models
Inheritance Hierarchy
SystemObject
  DHI.Mike1D.GenericTwoDLocation

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

The TwoDLocation type exposes the following members.

Constructors
  NameDescription
Public methodTwoDLocation
Initializes a new instance of the TwoDLocation class
Top
Properties
  NameDescription
Public propertyBranch
Branch name. The branch termonology is kept to be used with the cross section collection
Public propertyChainage
Chainage is not used for the TwoDlocation
Public propertyCoordinateProjection
String representation of projection
Public propertyInfo
Used for structure ID
Public propertyPoints
Public propertyTopoID
TopoID used for looking up cross section database
Top
Methods
  NameDescription
Public methodClone
ICloneable implementation. deep clone.
Public methodCompareTo(Object)
IComparable implementation. Hierarchical calls to the CompareTo methods for topo ID, then x1, then y1, x2, y2 comparison (but not Info). String comparisons are case-insensitive and culture-invariant.
Public methodCompareTo(ILocation, Double)
like IComaparable, but with tolerance for coordinate comparison as an argument. Hierarchical calls to the CompareTo methods for topo ID, then x1, then y1, x2, y2 comparison (but not Info). String comparisons are case-insensitive and culture-invariant.
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(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
Public methodGetHashCode
Serves as the default hash function.
(Overrides ObjectGetHashCode.)
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.
Public methodIsNull
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNumberofPoints
Returns the number of points
Public methodPoint
Returns _points[x]
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodToStringInUserUnits
Public methodWeight
Returns an array with weights of the form li/L
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