Skip to content
  • Norvald H. Ryeng's avatar
    ce549552
    Bug#22124757 MAKE ST_SYMDIFFERENCE(GC, GC) MORE NUMERICALLY ROBUST · ce549552
    Norvald H. Ryeng authored
    Problem: The symmetric difference of two geometry collections is
    calculated as  difference(union(A, B), intersection(A, B)), and this
    may cause some numerical robustness issues.
    
    Fix: Rewrite the operation to instead calculate union(difference(A,
    B), difference(B, A)) in order to make the algorithm more numerically
    robust.
    ce549552
    Bug#22124757 MAKE ST_SYMDIFFERENCE(GC, GC) MORE NUMERICALLY ROBUST
    Norvald H. Ryeng authored
    Problem: The symmetric difference of two geometry collections is
    calculated as  difference(union(A, B), intersection(A, B)), and this
    may cause some numerical robustness issues.
    
    Fix: Rewrite the operation to instead calculate union(difference(A,
    B), difference(B, A)) in order to make the algorithm more numerically
    robust.
Loading