An operation that will find the geometric result of intersecting two polygons.
コード例 #1
0
 static PolygonDifferenceOperation() {
     DefaultInverseRightIntersectionOptions = new PolygonBinaryOperationOptions {
         InvertLeftHandSide = false,
         InvertRightHandSide = true,
         InvertResult = false
     };
     DefaultInverseRightIntersectionOperation = new PolygonIntersectionOperation(DefaultInverseRightIntersectionOptions);
 }
コード例 #2
0
 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);
 }
コード例 #4
0
 static PolygonUnionOperation()
 {
     DefaultInverseIntersectionOptions = new PolygonBinaryOperationOptions {
         InvertLeftHandSide  = true,
         InvertRightHandSide = true,
         InvertResult        = true
     };
     DefaultInverseIntersectionOperation = new PolygonIntersectionOperation(DefaultInverseIntersectionOptions);
 }
コード例 #5
0
 internal PolygonUnionOperation(PolygonIntersectionOperation inverseIntersectionOperation) {
     InverseIntersectionOperation = inverseIntersectionOperation ?? DefaultInverseIntersectionOperation;
 }
コード例 #6
0
 internal PolygonDifferenceOperation(PolygonIntersectionOperation inverseRightOperation) {
     RightInverseIntersectionOperation = inverseRightOperation ?? DefaultInverseRightIntersectionOperation;
 }
コード例 #7
0
 internal PolygonDifferenceOperation(PolygonIntersectionOperation inverseRightOperation)
 {
     RightInverseIntersectionOperation = inverseRightOperation ?? DefaultInverseRightIntersectionOperation;
 }
コード例 #8
0
 internal PolygonUnionOperation(PolygonIntersectionOperation inverseIntersectionOperation)
 {
     InverseIntersectionOperation = inverseIntersectionOperation ?? DefaultInverseIntersectionOperation;
 }