Abstract
A combinatorial algorithm is presented in this work to compute different set operations such as union, intersection, and difference on isothetic polygons. The algorithm constructs an interval tree and formulates a set of combinatorial rules to find the intersection points between two isothetic polygons and then perform the set operations respectively. The running time of the proposed algorithm is found to be \(\mathcal {O}(n\log {}n)\).















Similar content being viewed by others
Code Availability
Not applicable.
References
Biswas A, Bhowmick P, Bhattacharya BB (2010) Construction of isothetic covers of a digital object: a combinatorial approach. J Vis Commun Image Represent 21:295–310
Chazelle B (1992) An optimal algorithm for intersecting three-dimensional convex polyhedra. SIAM J Comput 21:671–696
Chazelle B, Dobkin DP (1987) Intersection of convex objects in two and three dimensions. J ACM (JACM) 34:1–27
Cyrus M, Beck J (1978) Generalized two-and three-dimensional clipping. J Comput Graph 3:23–28
Dobkin DP, Kirkpatrick DG (1985) A linear algorithm for determining the separation of convex polyhedra. J Algor 6:381–392
Dobkin DP, Souvaine DL (1991) Detecting the intersection of convex objects in the plane. Comput Aided Geom Des 8:181–199
Muller DE, Preparata FP (1978) Finding the intersection of two convex polyhedra. Theor Comput Sci 7:217–236
O’Rourke J, Chien CB, Olson T, Naddor D (1982) A new linear algorithm for intersecting convex polygons. Comput Graph Image Process 19:384–391
Rivero M, Feito FR (2000) Boolean operations on general planar polygons. Comput Graph 24:881–896
Shamos MI (1975) Geometric complexity. In: Proceedings of the seventh annual ACM symposium on theory of computing, pp 224–233
Shamos MI, Hoey D (1976) Geometric intersection problems. In: 17th Annual symposium on foundations of computer science (sfcs 1976). IEEE, pp 208–215
Funding
Not applicable.
Author information
Authors and Affiliations
Contributions
There is equal contribution from each author.
Corresponding author
Ethics declarations
Ethics approval and consent to participate
Not applicable.
Consent for Publication
We give the permission for publication if accepted.
Conflict of interest/Competing interests
We affirm that this manuscript is original, has not been published before. It is not currently being considered for publication elsewhere and has no potential conflict of interest to declare.
Additional information
Availability of data and materials
Data sharing not applicable to this article as no data sets were generated or analyzed during the current study.
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Paul, R., Aman, M.A.A.A., Sarkar, A. et al. A combinatorial algorithm to compute set operations on simple isothetic polygons. Multimed Tools Appl 82, 6647–6666 (2023). https://doi.org/10.1007/s11042-022-13579-4
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-022-13579-4