The Design and Implementation of Planar Maps in CGAL

Eyal Flato, Dan Halperin, Iddo Hanniel, Oren Nechushtan, Eti Ezra

Research output: Contribution to journalArticlepeer-review

35 Scopus citations


Planar maps are fundamental structures in computational geometry. They are used to represent the subdivision of the plane into regions and have numerous applications. We describe the planar map package of Cgal—a Computational Geometry Algorithms Library. We discuss its modular design and implementation. In particular we introduce the two main classes of the design—planar maps and topological maps that enable the convenient separation between geometry and topology. The modular design is implemented using a generic programming approach. By switching a template parameter—the geometric traits class, one can use the same code for planar maps of different objects such as line segments or circular arcs. More flexibility is achieved by choosing a point location algorithm out of three implemented algorithms or plugging in an algorithm implemented by the user. The user of the planar maps package can benefit both from its flexibility and robustness. We present several examples of geometric traits classes and point location algorithms which demonstrate the possibility to adapt the general package to specific needs.

Original languageEnglish
Pages (from-to)13
Number of pages1
JournalJournal of Experimental Algorithmics
StatePublished - 31 Dec 2000
Externally publishedYes


Dive into the research topics of 'The Design and Implementation of Planar Maps in CGAL'. Together they form a unique fingerprint.

Cite this