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.
        Parameters:
        thisReport - the first report
        otherReport - the second report
        finder - the finder for locating the objects
        detection - detects the overlaps
        removal - applies the removal technique
        Returns:
        the new report (thisReport-non-object fields plus left-over objects)
        Throws:
        Exception - if instantiation of report fails