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

Geometric measurements and canonical representative-point helpers. More...

#include <cmath>
#include <optional>
#include <type_traits>
#include "implementation/minkowski.hpp"
#include "implementation/orientation.hpp"

Go to the source code of this file.

Namespaces

namespace  pgl

Functions

template<class LeftNumber, class LeftLabel, class RightNumber, class RightLabel>
constexpr auto pgl::operator* (const Point< LeftNumber, LeftLabel > &left, const Point< RightNumber, RightLabel > &right)
 Returns the dot product of two points.

Detailed Description

Geometric measurements and canonical representative-point helpers.

Lengths, areas, slopes, centers, and similar quantitative operations are kept together here so shapes can share the same arithmetic conventions.