![]() |
Pangolin
Header-only C++20 plane computational geometry library
|
Chebyshev (LInf) distance between shapes. More...
#include "implementation/distancel1.hpp"Go to the source code of this file.
Namespaces | |
| namespace | pgl |
Macros | |
| #define | PGL_HPI_DISTANCE_LINF(ConceptName, ArgType) |
Chebyshev (LInf) distance between shapes.
Mirrors the shape coverage of distancel1.hpp, but for the LInf metric max(|dx|, |dy|) instead of L1. Implemented independently of L1 (no coordinate-transform trick relating the two metrics) – the two files happen to share the same overall shape-recursion structure because that structure only relies on convexity, which both metrics have, not on any relationship between them.
| #define PGL_HPI_DISTANCE_LINF | ( | ConceptName, | |
| ArgType ) |