getEndLocation static method

LinearLocation getEndLocation(
  1. Geometry linear
)

Gets a location which refers to the end of a linear {@link Geometry}. @param linear the linear geometry @return a new LinearLocation

Implementation

static LinearLocation getEndLocation(Geometry linear) {
  // assert: linear is LineString or MultiLineString
  LinearLocation loc = new LinearLocation();
  loc.setToEnd(linear);
  return loc;
}