• Basic binary topology checks: these checks verify whether two shapes interact with each other, and return true or false. See the ILcd2DBinaryTopology implementations.

    • Interaction check: whether 2 shapes have overlapping points

    • Contains and inside check: whether one shape contains the other shape completely

    • Line intersect check: whether shape boundaries intersect

  • Line intersections calculations: calculate the intersection points of line shapes, ignoring any fills. See the ILcd2DLineIntersectionTopology implementations.

    • Calculate the intersection points of the outline of 2 shapes

  • Advanced binary topology checks: these are more advanced and precise checks compared to the basic binary topology checks. These calculations are based on the DE-9IM model. By default, the following checks are available (but you can define your own checks). See the ILcd2DAdvancedBinaryTopology implementations.

    • Disjoint

    • Intersects

    • Contains and within

    • Covers and covered by

    • Touches

    • Crosses

    • Overlaps

    • Equals

      Consult the Javadoc of ILcdIntersectionMatrixPattern for all the details about those operations.

  • Constructive geometry calculations: calculate new shapes based on the geometry of 2 shapes. See the ILcdConstructiveGeometry implementations.

    • Union

    • Intersection

    • Difference

    • Symmetric difference

    • Convex hull