Isis 3 Developer 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);
81  int p_majorAxisPts;
82  int p_minorAxisPts;
83  };
84 };
85 
86 #endif
Seed points using a grid.
Definition: LimitPolygonSeeder.h:63
This class is used as the base class for all PolygonSeeder objects.
Definition: PolygonSeeder.h:63
virtual PvlGroup PluginParameters(QString grpName)
Plugin parameters.
Definition: LimitPolygonSeeder.cpp:214
Contains multiple PvlContainers.
Definition: PvlGroup.h:57
LimitPolygonSeeder(Pvl &pvl)
Construct a LimitPolygonSeeder algorithm.
Definition: LimitPolygonSeeder.cpp:46
virtual void Parse(Pvl &pvl)
Parse the LimitPolygonSeeder spicific parameters from the PVL.
Definition: LimitPolygonSeeder.cpp:160
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.
Definition: LimitPolygonSeeder.cpp:63
virtual ~LimitPolygonSeeder()
Destructor.
Definition: LimitPolygonSeeder.h:68
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31