Pangolin
Header-only C++20 plane computational geometry library
Loading...
Searching...
No Matches
handle.hpp File Reference

Strongly typed index handles shared by the topological data structures. More...

#include "core/forward.hpp"
#include <cstddef>
#include <cstdint>
#include <functional>

Go to the source code of this file.

Namespaces

namespace  pgl

Detailed Description

Strongly typed index handles shared by the topological data structures.

A pgl::detail::Handle is an index that knows which family of cells it indexes. pgl::Arrangement and pgl::Triangulation both hand out handles rather than raw indices, so a vertex handle cannot bind where a face or triangle one is meant, and the two families can take part in overload resolution.