Example #1
0
 public PolySegments SelectXor(CombinedPolySegments combined)
 {
     return(new PolySegments
     {
         Segments = SegmentSelector.Xor(combined.Combined),
         Inverted = combined.Inverted1 != combined.Inverted2
     });
 }
Example #2
0
 public PolySegments SelectIntersect(CombinedPolySegments combined)
 {
     return(new PolySegments
     {
         Segments = SegmentSelector.Intersect(combined.Combined),
         Inverted = combined.Inverted1 && combined.Inverted2
     });
 }
Example #3
0
 public PolySegments SelectDifferenceRev(CombinedPolySegments combined)
 {
     return(new PolySegments
     {
         Segments = SegmentSelector.DifferenceRev(combined.Combined),
         Inverted = !combined.Inverted1 && combined.Inverted2
     });
 }
Example #4
0
 public PolySegments SelectUnion(CombinedPolySegments combined)
 {
     return(new PolySegments
     {
         Segments = SegmentSelector.Union(combined.Combined),
         Inverted = combined.Inverted1 || combined.Inverted2
     });
 }