DistanceCalculator Class |
Use CalculateDistances(ILocation) to start a calculation, and extract data from Distances.
Namespace: DHI.Mike1D.Engine
The DistanceCalculator type exposes the following members.
Name | Description | |
---|---|---|
DistanceCalculator |
Create object working on provided engineNet |
Name | Description | |
---|---|---|
Distances |
Distances from location to any other node and grid point in the network
The value double.MaxValue is used when the node/grid point is more than MaxDistance from the location, or if the node/grid-point is not reachable from the location | |
MaxDistance | Maximum distance from search location to calculate distance.
Outside this distance, the results in the Distances
may be double.MaxValue.
| |
UseSignedDistance |
Flag specifying whether to calculate signed distances, i.e.
distance is positive in down-stream direction and negative
in up-stream direction from location
|
Name | Description | |
---|---|---|
CalculateDistances(ILocation) |
Calculate distances from location to any other grid point and node
within the network
| |
CalculateDistances(INetworkLocation) |
Calculate distances from location to any other grid point and node
within the network
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |