An operation that will find the geometric difference of one polygon from another.
Ejemplo n.º 1
0
 [ContractVerification(false)] // TODO: remove when CC bugs are fixed
 internal PolygonXorOperation(PolygonDifferenceOperation differenceOperation, PolygonUnionOperation unionOperation) {
     _differenceOperation = differenceOperation ?? DefaultDifferenceOperation;
     _unionOperation = unionOperation ?? DefaultUnionOperation;
 }
Ejemplo n.º 2
0
 [ContractVerification(false)] // TODO: remove when CC bugs are fixed
 internal PolygonXorOperation(PolygonDifferenceOperation differenceOperation, PolygonUnionOperation unionOperation)
 {
     _differenceOperation = differenceOperation ?? DefaultDifferenceOperation;
     _unionOperation      = unionOperation ?? DefaultUnionOperation;
 }
Ejemplo n.º 3
0
 static PolygonXorOperation() {
     DefaultDifferenceOperation = new PolygonDifferenceOperation();
     DefaultUnionOperation = new PolygonUnionOperation();
 }
Ejemplo n.º 4
0
 static PolygonXorOperation()
 {
     DefaultDifferenceOperation = new PolygonDifferenceOperation();
     DefaultUnionOperation      = new PolygonUnionOperation();
 }