atlas
Public Member Functions | List of all members
atlas::util::ExplicitPartitionPolygon Class Reference
Inheritance diagram for atlas::util::ExplicitPartitionPolygon:
Inheritance graph
[legend]
Collaboration diagram for atlas::util::ExplicitPartitionPolygon:
Collaboration graph
[legend]

Public Member Functions

 ExplicitPartitionPolygon (PointsXY &&points)
 
 ExplicitPartitionPolygon (PointsXY &&points, const RectangularDomain &inscribed)
 
PointsXY xy () const override
 All (x,y) coordinates defining a polygon. Last point should match first.
 
PointsLonLat lonlat () const override
 All (lon,lat) coordinates defining a polygon. Last point should match first.
 
void allGather (util::PartitionPolygons &) const override
 
const RectangularDomaininscribedDomain () const override
 Return inscribed rectangular domain (not rotated)
 
- Public Member Functions inherited from atlas::util::PartitionPolygon
virtual idx_t halo () const
 Return value of halo.
 
virtual size_t footprint () const
 Return the memory footprint of the Polygon.
 
virtual void outputPythonScript (const eckit::PathName &, const eckit::Configuration &=util::NoConfig()) const
 Output a python script that plots the partition.
 
- Public Member Functions inherited from atlas::util::Polygon
 Polygon (const edge_set_t &)
 
 operator bool () const
 
Polygonoperator+= (const Polygon &)
 
void print (std::ostream &) const
 

Additional Inherited Members

- Public Types inherited from atlas::util::PartitionPolygon
using PointsXY = std::vector< Point2 >
 
using PointsLonLat = std::vector< Point2 >
 
- Public Types inherited from atlas::util::Polygon
using edge_set_t = std::set< edge_t, typename edge_t::LessThan >
 
using container_t = std::vector< idx_t >
 
- Protected Member Functions inherited from atlas::util::Polygon
void setup (const edge_set_t &)
 

The documentation for this class was generated from the following files: