IRes1DReachGridPointIndexForChainage Method |
Return index in list of gridpoints for given chainage.
Chainage must be within Constants.LOCATION_EQUAL_TOLERANCE
of gridpoint chainage, otherwise no grid point is found.
Namespace:
DHI.Mike1D.ResultDataAccess
Assembly:
DHI.Mike1D.ResultDataAccess (in DHI.Mike1D.ResultDataAccess.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax int GridPointIndexForChainage(
double chainage
)
Function GridPointIndexForChainage (
chainage As Double
) As Integer
int GridPointIndexForChainage(
double chainage
)
Parameters
- chainage
- Type: SystemDouble
Chainage
Return Value
Type:
Int32Index for gridpoint in list, -1 if not found.
See Also