eckit::geo::polygon::Polygon class

Public types

using container_type = std::deque<value_type>

Constructors, destructors, conversion operators

Polygon() defaulted
Polygon(std::initializer_list<value_type> l)

Public functions

auto num_vertices() const -> size_t
auto vertex(size_t idx) const -> const value_type&
auto sameAs(const Polygon& p) const -> bool
auto congruent(const Polygon&) const -> bool
void print(std::ostream&) const
auto push_back(T... args) -> T
auto push_front(T... args) -> T

Friends

auto operator<<(std::ostream& s, const Polygon& p) -> std::ostream&