Stride Reference Manual  - generated for commit 9643b11
geopop::PolygonPolicy Class Reference

A GeoAggregator Policy that aggregates over a (clockwise) polygon. More...

#include <GeoAggregator.h>

Collaboration diagram for geopop::PolygonPolicy:
Collaboration graph

Public Types

using Args = boost::geometry::model::polygon< Coordinate, true >
 

Public Member Functions

 PolygonPolicy (boost::geometry::model::polygon< Coordinate, true > args)
 
AABBox< geogrid_detail::KdTree2DPointGetBoundingBox () const
 
bool Contains (const geogrid_detail::KdTree2DPoint &pt) const
 

Private Attributes

Args m_poly
 

Detailed Description

A GeoAggregator Policy that aggregates over a (clockwise) polygon.

Definition at line 196 of file GeoAggregator.h.

Member Typedef Documentation

using geopop::PolygonPolicy::Args = boost::geometry::model::polygon<Coordinate, true>

Definition at line 199 of file GeoAggregator.h.

Constructor & Destructor Documentation

geopop::PolygonPolicy::PolygonPolicy ( boost::geometry::model::polygon< Coordinate, true >  args)
inlineexplicit

Definition at line 201 of file GeoAggregator.h.

Member Function Documentation

AABBox<geogrid_detail::KdTree2DPoint> geopop::PolygonPolicy::GetBoundingBox ( ) const
inline

Definition at line 203 of file GeoAggregator.h.

References geopop::AABBox< P >::lower, and geopop::AABBox< P >::upper.

bool geopop::PolygonPolicy::Contains ( const geogrid_detail::KdTree2DPoint pt) const
inline

Definition at line 213 of file GeoAggregator.h.

References geopop::geogrid_detail::KdTree2DPoint::GetPoint().

Here is the call graph for this function:

Member Data Documentation

Args geopop::PolygonPolicy::m_poly
private

Definition at line 219 of file GeoAggregator.h.


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