Isis 3 Programmer Reference
LimitPolygonSeeder.h
Go to the documentation of this file.
1 #ifndef LimitPolygonSeeder_h
2 #define LimitPolygonSeeder_h
3 
26 #include <geos/geom/Point.h>
27 #include <geos/geom/MultiPolygon.h>
28 #include <geos/geom/CoordinateArraySequence.h>
29 #include <geos/geom/Polygon.h>
30 
31 #include "PolygonSeeder.h"
32 
33 namespace Isis {
34  class Pvl;
35 
64  public:
65  LimitPolygonSeeder(Pvl &pvl);
66 
68  virtual ~LimitPolygonSeeder() {};
69 
70  std::vector<geos::geom::Point *> Seed(const geos::geom::MultiPolygon *mp);
71 
72  virtual PvlGroup PluginParameters(QString grpName);
73 
74  protected:
75  virtual void Parse(Pvl &pvl);
76 
77  private:
78  geos::geom::Geometry *GetMultiPolygon(double dMinX, double dMinY,
79  double dMaxX, double dMaxY,
80  const geos::geom::MultiPolygon &orig);
83  };
84 };
85 
86 #endif
Seed points using a grid.
This class is used as the base class for all PolygonSeeder objects.
Definition: PolygonSeeder.h:63
virtual PvlGroup PluginParameters(QString grpName)
Plugin parameters.
Contains multiple PvlContainers.
Definition: PvlGroup.h:57
LimitPolygonSeeder(Pvl &pvl)
Construct a LimitPolygonSeeder algorithm.
virtual void Parse(Pvl &pvl)
Parse the LimitPolygonSeeder spicific parameters from the PVL.
Container for cube-like labels.
Definition: Pvl.h:135
std::vector< geos::geom::Point * > Seed(const geos::geom::MultiPolygon *mp)
Seed a polygon with points.
virtual ~LimitPolygonSeeder()
Destructor.
int p_minorAxisPts
Number of points to place on minor axis.
int p_majorAxisPts
Number of points to place on major axis.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
geos::geom::Geometry * GetMultiPolygon(double dMinX, double dMinY, double dMaxX, double dMaxY, const geos::geom::MultiPolygon &orig)
This method returns the overlap between the x/y range specified and the "orig" polygon.