class
#include <atlas/util/SphericalPolygon.h>
SphericalPolygon
Base classes
- class PolygonCoordinates
Public types
- using Vector = VectorOfAbstract<PolygonCoordinates>
Constructors, destructors, conversion operators
- SphericalPolygon(const PartitionPolygon&)
-
SphericalPolygon(const std::
vector<PointLonLat>& points)
Public functions
- auto contains(const Point2& P) const -> bool override
- Point-in-partition test.
- 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
Typedef documentation
using atlas:: util:: SphericalPolygon:: Vector = VectorOfAbstract<PolygonCoordinates>
#include <atlas/util/Polygon.h>
Function documentation
const Point2& atlas:: util:: SphericalPolygon:: coordinatesMax() const
#include <atlas/util/Polygon.h>
const Point2& atlas:: util:: SphericalPolygon:: coordinatesMin() const
#include <atlas/util/Polygon.h>
const Point2& atlas:: util:: SphericalPolygon:: centroid() const
#include <atlas/util/Polygon.h>
#include <atlas/util/Polygon.h>
template<typename Index>
const Point2& atlas:: util:: SphericalPolygon:: operator[](Index i) const
idx_ t atlas:: util:: SphericalPolygon:: size() const
#include <atlas/util/Polygon.h>
void atlas:: util:: SphericalPolygon:: print(std:: ostream&) const
#include <atlas/util/Polygon.h>