isRedundant method
Tests whether the given point is redundant relative to the previous point in the list (up to tolerance).
@param pt @return true if the point is redundant
Implementation
bool isRedundant(Coordinate pt) {
if (ptList.length < 1) return false;
Coordinate lastPt = ptList.last;
double ptDist = pt.distance(lastPt);
if (ptDist < minimimVertexDistance) return true;
return false;
}