getEndLocation static method
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;
}