/** * Computes the distance tolerance to use during input * line simplification. * * @param distance the buffer distance * @return the simplification tolerance */ private double simplifyTolerance(double bufDistance) { return bufDistance * bufParams.getSimplifyFactor(); }