An operation that will find the geometric result of intersecting two polygons.
 static PolygonDifferenceOperation() {
     DefaultInverseRightIntersectionOptions = new PolygonBinaryOperationOptions {
         InvertLeftHandSide = false,
         InvertRightHandSide = true,
         InvertResult = false
     };
     DefaultInverseRightIntersectionOperation = new PolygonIntersectionOperation(DefaultInverseRightIntersectionOptions);
 }
 static PolygonUnionOperation() {
     DefaultInverseIntersectionOptions = new PolygonBinaryOperationOptions {
         InvertLeftHandSide = true,
         InvertRightHandSide = true,
         InvertResult = true
     };
     DefaultInverseIntersectionOperation = new PolygonIntersectionOperation(DefaultInverseIntersectionOptions);
 }
Esempio n. 3
0
 static PolygonDifferenceOperation()
 {
     DefaultInverseRightIntersectionOptions = new PolygonBinaryOperationOptions {
         InvertLeftHandSide  = false,
         InvertRightHandSide = true,
         InvertResult        = false
     };
     DefaultInverseRightIntersectionOperation = new PolygonIntersectionOperation(DefaultInverseRightIntersectionOptions);
 }
 static PolygonUnionOperation()
 {
     DefaultInverseIntersectionOptions = new PolygonBinaryOperationOptions {
         InvertLeftHandSide  = true,
         InvertRightHandSide = true,
         InvertResult        = true
     };
     DefaultInverseIntersectionOperation = new PolygonIntersectionOperation(DefaultInverseIntersectionOptions);
 }
 internal PolygonUnionOperation(PolygonIntersectionOperation inverseIntersectionOperation) {
     InverseIntersectionOperation = inverseIntersectionOperation ?? DefaultInverseIntersectionOperation;
 }
 internal PolygonDifferenceOperation(PolygonIntersectionOperation inverseRightOperation) {
     RightInverseIntersectionOperation = inverseRightOperation ?? DefaultInverseRightIntersectionOperation;
 }
Esempio n. 7
0
 internal PolygonDifferenceOperation(PolygonIntersectionOperation inverseRightOperation)
 {
     RightInverseIntersectionOperation = inverseRightOperation ?? DefaultInverseRightIntersectionOperation;
 }
 internal PolygonUnionOperation(PolygonIntersectionOperation inverseIntersectionOperation)
 {
     InverseIntersectionOperation = inverseIntersectionOperation ?? DefaultInverseIntersectionOperation;
 }