Class AbstractOverlappingObjectRemoval

    • Constructor Detail

      • AbstractOverlappingObjectRemoval

        public AbstractOverlappingObjectRemoval()
    • Method Detail

      • remove

        public static Report remove​(Report thisReport,
                                    Report otherReport,
                                    ObjectFinder finder,
                                    ObjectOverlap detection,
                                    OverlappingObjectRemoval removal)
                             throws Exception
        Removes overlapping objects between the two reports.
        thisReport - the first report
        otherReport - the second report
        finder - the finder for locating the objects
        detection - detects the overlaps
        removal - applies the removal technique
        the new report (thisReport-non-object fields plus left-over objects)
        Exception - if instantiation of report fails