CrossSectionPointListFindPointIndex Method (Double, Boolean) |
finds the 0-BASED index (within the list) of the first point with given x coordinate,
-1 if not found, and indicate if there are several points at that x.
Namespace:
DHI.Mike1D.CrossSectionModule
Assembly:
DHI.Mike1D.CrossSectionModule (in DHI.Mike1D.CrossSectionModule.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax public int FindPointIndex(
double x,
out bool bNonUnique
)
Parameters
- x
- Type: SystemDouble
x location - bNonUnique
- Type: SystemBoolean
true iff more than 1 points are at that x location
Return Value
Type:
Int32index in list iff found, otherwise -1
See Also