eckit::geo::area::Polygon class

Base classes

class eckit::geo::Area

Public types

using container_type = vector
using value_type = container_type::value_type
using builder_t = BuilderT1<Area>
using Spec = spec::Spec
using ARG1 = const Spec&

Public static functions

static auto make_from_spec(const Area::Spec&) -> Polygon*
static auto className() -> std::string
static auto area_default() -> const Area&

Constructors, destructors, conversion operators

Polygon(const Area::Spec&) explicit
Polygon(const Polygon& other)
Polygon(Polygon&& other)
Polygon(const container_type& cont)
Polygon(container_type&& cont)
~Polygon() defaulted override

Public functions

auto operator=(const Polygon& other) -> Polygon&
auto operator=(Polygon&& other) -> Polygon&
auto type() const -> const std::string& override
auto intersects(BoundingBox&) const -> bool override
auto contains(const Point&) const -> bool override
auto area() const -> double override
auto spec() const -> const Spec&
auto spec_str() const -> std::string

Private functions

void fill_spec(spec::Custom&) const override

Typedef documentation

using eckit::geo::area::Polygon::builder_t = BuilderT1<Area>

using eckit::geo::area::Polygon::Spec = spec::Spec

using eckit::geo::area::Polygon::ARG1 = const Spec&

Function documentation

static std::string eckit::geo::area::Polygon::className()

static const Area& eckit::geo::area::Polygon::area_default()

const Spec& eckit::geo::area::Polygon::spec() const

std::string eckit::geo::area::Polygon::spec_str() const