setInvertOrientation method

void setInvertOrientation(
  1. bool isInvertOrientation
)

Sets whether the offset curve is generated using the inverted orientation of input rings. This allows generating a buffer(0) polygon from the smaller lobes of self-crossing rings.

@param isInvertOrientation true if input ring orientation should be inverted

Implementation

void setInvertOrientation(bool isInvertOrientation) {
  this.isInvertOrientation = isInvertOrientation;
}