/** * Returns the index of the end of the line * @return the location index */ public LinearLocation getEndIndex() { return LinearLocation.getEndLocation(linearGeom); }
LinearLocation endLoc = LinearLocation.getEndLocation(linearGeom); if (endLoc.compareTo(minIndex) <= 0) return endLoc;
return LinearLocation.getEndLocation(linearGeom);