21 #ifndef FUB_GEOMETRY_POLYGON_HPP
22 #define FUB_GEOMETRY_POLYGON_HPP
25 #include <boost/container/pmr/vector.hpp>
31 using Vector = boost::container::pmr::vector<double>;
Definition: Polygon.hpp:29
Polygon(Vector xs, Vector ys)
Definition: Polygon.hpp:33
double ComputeDistanceTo(double x, double y) const noexcept
span< const double > GetXs() const noexcept
Definition: Polygon.hpp:35
Vector ys_
Definition: Polygon.hpp:46
double ComputeDistanceTo(std::array< double, 2 > xs) const noexcept
Definition: Polygon.hpp:39
boost::container::pmr::vector< double > Vector
Definition: Polygon.hpp:31
Vector xs_
Definition: Polygon.hpp:45
span< const double > GetYs() const noexcept
Definition: Polygon.hpp:36
A span is a view over a contiguous sequence of objects, the storage of which is owned by some other o...
Definition: span.hpp:81
The fub namespace.
Definition: AnyBoundaryCondition.hpp:31