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);
 }
示例#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;
 }
示例#7
0
 internal PolygonDifferenceOperation(PolygonIntersectionOperation inverseRightOperation)
 {
     RightInverseIntersectionOperation = inverseRightOperation ?? DefaultInverseRightIntersectionOperation;
 }
 internal PolygonUnionOperation(PolygonIntersectionOperation inverseIntersectionOperation)
 {
     InverseIntersectionOperation = inverseIntersectionOperation ?? DefaultInverseIntersectionOperation;
 }