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