Class UnionInteracting

java.lang.Object
org.locationtech.jts.operation.union.UnionInteracting

public class UnionInteracting extends Object
Experimental code to union MultiPolygons with processing limited to the elements which actually interact. Not currently used, since it doesn't seem to offer much of a performance advantage.
  • Field Details

    • geomFactory

      private GeometryFactory geomFactory
    • g0

      private Geometry g0
    • g1

      private Geometry g1
    • interacts0

      private boolean[] interacts0
    • interacts1

      private boolean[] interacts1
  • Constructor Details

  • Method Details

    • union

      public static Geometry union(Geometry g0, Geometry g1)
    • union

      public Geometry union()
    • bufferUnion

      private Geometry bufferUnion(Geometry g0, Geometry g1)
    • computeInteracting

      private void computeInteracting()
    • computeInteracting

      private boolean computeInteracting(Geometry elem0)
    • extractElements

      private Geometry extractElements(Geometry geom, boolean[] interacts, boolean isInteracting)