setSingleSided method
Sets whether the computed buffer should be single-sided. A single-sided buffer is constructed on only one side of each input line.
The side used is determined by the sign of the buffer distance:
- a positive distance indicates the left-hand side
- a negative distance indicates the right-hand side
The End Cap Style for single-sided buffers is always ignored, and forced to the equivalent of CAP_FLAT.
@param isSingleSided true if a single-sided buffer should be constructed
Implementation
void setSingleSided(bool isSingleSided) {
this._isSingleSided = isSingleSided;
}