LinearLocation function ( Coordinate arg0 ) { return LocationIndexOfPoint . indexOf ( linearGeom , arg0 ) ; }
computes the index for a given point on the line . the supplied point does not necessarily have to lie precisely on the line , but if it is far from the line the accuracy and performance of this function is not guaranteed . use #project to compute a guaranteed result for pointswhich may be far from the line . concode_field_sep Geometry linearGeom concode_field_sep LinearLocation clampIndex concode_elem_sep LinearLocation getStartIndex concode_elem_sep LinearLocation getEndIndex concode_elem_sep Geometry extractLine concode_elem_sep LinearLocation project concode_elem_sep Coordinate extractPoint concode_elem_sep Coordinate extractPoint concode_elem_sep boolean isValidIndex concode_elem_sep void checkGeometryType concode_elem_sep LinearLocation indexOfAfter concode_elem_sep LinearLocation[] indicesOf