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

Forward declarations for core numeric and geometry types. More...

#include <type_traits>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  pgl

Concepts

concept  pgl::EmptyShapeConcept
concept  pgl::PointConcept
concept  pgl::SegmentConcept
concept  pgl::OrientedSegmentConcept
concept  pgl::LineConcept
concept  pgl::OrientedLineConcept
concept  pgl::RayConcept
concept  pgl::HalfplaneConcept
concept  pgl::RectangleConcept
concept  pgl::TriangleConcept
concept  pgl::ConvexConcept
concept  pgl::PolygonConcept
concept  pgl::PolygonWithHolesConcept
concept  pgl::PolygonSetConcept
concept  pgl::HalfplaneIntersectionConcept
concept  pgl::MonotoneChainConcept
concept  pgl::PolylineConcept
concept  pgl::DiskConcept
concept  pgl::ShapeConcept
concept  pgl::TransformationConcept
concept  pgl::AnyShapeConcept
 Any concrete geometry type or the runtime Shape wrapper.
concept  pgl::BoundedConvexConcept
 Bounded convex primitives.
concept  pgl::UnboundedConvexConcept
 Unbounded convex polyhedral primitives.
concept  pgl::BoundedPolygonalConcept
 Bounded polygonal primitives, convex or not.
concept  pgl::PolygonalRegionConcept
 Bounded polygonal regions: exactly the shapes a PolygonSet can always represent.
concept  pgl::MinkowskiSummableConcept
 Shape pairs whose Minkowski sum Pangolin can represent.

Functions

template<class ANumber, class ALabel, class BNumber, class BLabel, class CNumber, class CLabel>
constexpr bool pgl::collinear (const Point< ANumber, ALabel > &a, const Point< BNumber, BLabel > &b, const Point< CNumber, CLabel > &c)
 Tests whether three points are collinear.

Detailed Description

Forward declarations for core numeric and geometry types.

This header lets shape and implementation headers refer to each other without forcing all definitions to be parsed immediately.