indexOf method

double indexOf(
  1. Coordinate inputPt
)

Find the nearest location along a linear {@link Geometry} to a given point.

@param inputPt the coordinate to locate @return the location of the nearest point

Implementation

double indexOf(Coordinate inputPt) {
  return indexOfFromStart(inputPt, -1.0);
}