setSimplifyFactor method

void setSimplifyFactor(
  1. double simplifyFactor
)

Sets the factor used to determine the simplify distance tolerance for input simplification. Simplifying can increase the performance of computing buffers. Generally the simplify factor should be greater than 0. Values between 0.01 and .1 produce relatively good accuracy for the generate buffer. Larger values sacrifice accuracy in return for performance.

@param simplifyFactor a value greater than or equal to zero.

Implementation

void setSimplifyFactor(double simplifyFactor) {
  this.simplifyFactor = simplifyFactor < 0 ? 0 : simplifyFactor;
}