Home | ClipperLib | Clipper |

# Clipper.ForceSimple

Del.» property ForceSimple: boolean; override;

C++ » void ForceSimple(bool value);

C# » public bool ForceSimple { get {} set {} };

When this property is set to true, individual polygons returned in the solution of the Clipper object's Execute() method will be guaranteed to be 'strictly' simple - without self-intersections and with no touching vertices. This is computationally expensive, slowing clipping by about 10%. When this property is false (the default), polygons will be 'weakly' simple - without self-intersections but they may have touching vertices.

In the image above, a weakly simple polygon (on the left) is converted to two strictly simple polygons. (The outlines with arrows are intended to aid visualizing vertex order.)
See also the article on Simple Polygon on Wikipedia.

## See Also

Execute, SimplifyPolygons

Copyright ©2010-2013 Angus Johnson - Clipper version 5.1.5 - Help file built on 6-May-2013