setDistanceTolerance method
Sets the distance tolerance for the simplification. All vertices in the simplified geometry will be within this distance of the original geometry.
@param distanceTolerance the approximation tolerance to use
Implementation
void setDistanceTolerance(double distanceTolerance) {
this.distanceTolerance = distanceTolerance;
}