PolygonOperations Members

The PolygonOperations type exposes the following members.

Methods


  Name Description
Public method Static member CanSimplifyToSinglePolygon
Simplifies a polygon, by removing self intersection. This results in one polygon, but may not be successful if multiple polygons
Public method Static member CCWPositive
Sets a polygon to counter clock wise positive
Public method Static member CWNegative
Sets a polygon to clock wise negative
Public method Static member Difference(IList<(Of <<'(List<(Of <<'(Point>)>>)>)>>), IList<(Of <<'(List<(Of <<'(Point>)>>)>)>>))
Difference. Gets the difference between two sets of polygons.
Public method Static member Difference(List<(Of <<'(Point>)>>), List<(Of <<'(Point>)>>))
Difference. Gets the difference between two sets of polygons.
Public method Static member Difference(IList<(Of <<'(List<(Of <<'(Point>)>>)>)>>), List<(Of <<'(Point>)>>))
Difference. Gets the difference between two sets of polygons.
Public method Static member Difference(List<(Of <<'(Point>)>>), IList<(Of <<'(List<(Of <<'(Point>)>>)>)>>))
Difference. Gets the difference between two sets of polygons.
Public method Static member Intersection(IList<(Of <<'(List<(Of <<'(Point>)>>)>)>>), IList<(Of <<'(List<(Of <<'(Point>)>>)>)>>))
Intersection. Gets the areas covered by both the subjects and the clips.
Public method Static member Intersection(List<(Of <<'(Point>)>>), List<(Of <<'(Point>)>>))
Intersection. Gets the areas covered by both the subjects and the clips.
Public method Static member Intersection(IList<(Of <<'(List<(Of <<'(Point>)>>)>)>>), List<(Of <<'(Point>)>>))
Intersection. Gets the areas covered by both the subjects and the clips.
Public method Static member Intersection(List<(Of <<'(Point>)>>), IList<(Of <<'(List<(Of <<'(Point>)>>)>)>>))
Intersection. Gets the areas covered by both the subjects and the clips.
Public method Static member Length
Gets the length of a path
Public method Static member OffsetMiter
Offsets all paths by the given offset value. Miters the corners. Offest value may be positive or negative. Loops must be ordered CCW positive.
Public method Static member OffsetRound(IList<(Of <<'(Point>)>>), Double, Double)
Offets the given path by the given offset, rounding corners.
Public method Static member OffsetRound(IList<(Of <<'(List<(Of <<'(Point>)>>)>)>>), Double, Double)
Offsets all paths by the given offset value. Rounds the corners. Offest value may be positive or negative. Loops must be ordered CCW positive.
Public method Static member OffsetSquare
Offsets all paths by the given offset value. Squares the corners. Offest value may be positive or negative. Loops must be ordered CCW positive.
Public method Static member Simplify
Simplifies a polygon, by removing self intersection. This may output several polygons.
Public method Static member Union(IList<(Of <<'(List<(Of <<'(Point>)>>)>)>>), IList<(Of <<'(List<(Of <<'(Point>)>>)>)>>))
Union. Joins paths that are touching into merged larger paths.
Public method Static member Union(List<(Of <<'(Point>)>>), List<(Of <<'(Point>)>>))
Union. Joins paths that are touching into merged larger paths.
Public method Static member Union(IList<(Of <<'(List<(Of <<'(Point>)>>)>)>>), List<(Of <<'(Point>)>>))
Union. Joins paths that are touching into merged larger paths.
Public method Static member UnionEvenOdd
Union based on Even/Odd methodology. Useful for correctly ordering a set of paths.
Public method Static member Xor(IList<(Of <<'(List<(Of <<'(Point>)>>)>)>>), IList<(Of <<'(List<(Of <<'(Point>)>>)>)>>))
XOR. Opposite of Intersection. Gets the areas covered by only either subjects or clips.
Public method Static member Xor(List<(Of <<'(Point>)>>), List<(Of <<'(Point>)>>))
XOR. Opposite of Intersection. Gets the areas covered by only either subjects or clips.
Public method Static member Xor(IList<(Of <<'(List<(Of <<'(Point>)>>)>)>>), List<(Of <<'(Point>)>>))
XOR. Opposite of Intersection. Gets the areas covered by only either subjects or clips.
Public method Static member Xor(List<(Of <<'(Point>)>>), IList<(Of <<'(List<(Of <<'(Point>)>>)>)>>))
XOR. Opposite of Intersection. Gets the areas covered by only either subjects or clips.