indexOf method

LinearLocation 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

LinearLocation indexOf(Coordinate inputPt) {
  return indexOfFromStart(inputPt, null);
}