Ipelets for the Convex Polygonal Geometry
Nithin Parepally, Ainesh Chatterjee, Auguste Gezalyan, Hongyang Du, Sukrit Mangla, Kenny Wu, Sarah Hwang, David Mount
TL;DR
The paper addresses the need for interactive visualization tools for convex polygonal geometry by providing a library of Lua-based Ipelets for the Ipe editor. It introduces a collection of Ipelets that construct and manipulate polygonal geometric objects including Macbeath regions, Funk and Hilbert metric balls, polar bodies, and Funk/Hilbert MSTs, alongside Boolean operations, the Minkowski sum, and the minimum enclosing ball. These contributions enable researchers to build, visualize, and analyze complex convex-geometric structures directly within a familiar drawing environment, with the resources freely available. The work supports deeper geometric intuition and practical exploration in areas such as convex approximation, clustering, graph embeddings, and motion planning, by providing concrete, interactive tools for polygonal geometry.
Abstract
There are many structures, both classical and modern, involving convex polygonal geometries whose deeper understanding would be facilitated through interactive visualizations. The Ipe extensible drawing editor, developed by Otfried Cheong, is a widely used software system for generating geometric figures. One of its features is the capability to extend its functionality through programs called Ipelets. In this media submission, we showcase a collection of new Ipelets that construct a variety of geometric objects based on polygonal geometries. These include Macbeath regions, metric balls in the forward and reverse Funk distance, metric balls in the Hilbert metric, polar bodies, the minimum enclosing ball of a point set, and minimum spanning trees in both the Funk and Hilbert metrics. We also include a number of utilities on convex polygons, including union, intersection, subtraction, and Minkowski sum (previously implemented as a CGAL Ipelet). All of our Ipelets are programmed in Lua and are freely available.
