43#ifndef LASS_GUARDIAN_OF_INCLUSION_PRIM_AABB_2D_SIMPLE_POLYGON_2D_H
44#define LASS_GUARDIAN_OF_INCLUSION_PRIM_AABB_2D_SIMPLE_POLYGON_2D_H
58template <
typename T,
class DegeneratePolicy>
62 const size_t n = polygon.
size();
63 for (
size_t i = 0; i < n; ++i)
Aabb2D< T > aabb(const SimplePolygon2D< T, DegeneratePolicy > &polygon)
determine axis aligned bounding box of a 2D simple polygon
convex or concave polygon in 2D (not selfintersecting, no holes)
size_t size() const
return number of vertices
set of geometrical primitives
Library for Assembled Shared Sources.