class
#include <atlas/util/PolygonXY.h>
PolygonXY Implement PolygonCoordinates::
Base classes
- class PolygonCoordinates
Public types
- using Vector = ListPolygonXY
Constructors, destructors, conversion operators
- PolygonXY(const PartitionPolygon&)
Public functions
- auto contains(const Point2& Pxy) const -> bool override
- Point-in-polygon test based on winding number.
- auto coordinatesMax() const -> const Point2&
- auto coordinatesMin() const -> const Point2&
- auto centroid() const -> const Point2&
-
template<typename Index>auto operator[](Index i) const -> const Point2&
-
auto size() const -> idx_
t -
void print(std::
ostream&) const
Function documentation
const Point2& atlas:: util:: PolygonXY:: coordinatesMax() const
#include <atlas/util/Polygon.h>
const Point2& atlas:: util:: PolygonXY:: coordinatesMin() const
#include <atlas/util/Polygon.h>
const Point2& atlas:: util:: PolygonXY:: centroid() const
#include <atlas/util/Polygon.h>
#include <atlas/util/Polygon.h>
template<typename Index>
const Point2& atlas:: util:: PolygonXY:: operator[](Index i) const
idx_ t atlas:: util:: PolygonXY:: size() const
#include <atlas/util/Polygon.h>
void atlas:: util:: PolygonXY:: print(std:: ostream&) const
#include <atlas/util/Polygon.h>