Isis 3 Programmer Reference
StripPolygonSeeder.h
1 #ifndef StripPolygonSeeder_h
2 #define StripPolygonSeeder_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 
10 #include "geos/geom/Point.h"
11 #include "geos/geom/MultiPolygon.h"
12 #include "PolygonSeeder.h"
13 
14 namespace Isis {
15  class Pvl;
16 
52  public:
53  StripPolygonSeeder(Pvl &pvl);
54 
56  virtual ~StripPolygonSeeder() {};
57 
58  std::vector<geos::geom::Point *> Seed(const geos::geom::MultiPolygon *mp);
59 
60  virtual PvlGroup PluginParameters(QString grpName);
61 
62  protected:
63  virtual void Parse(Pvl &pvl);
64 
65  private:
66  double p_Xspacing;
67  double p_Yspacing;
68  };
69 };
70 
71 #endif
Isis::StripPolygonSeeder::~StripPolygonSeeder
virtual ~StripPolygonSeeder()
Destructor.
Definition: StripPolygonSeeder.h:56
Isis::StripPolygonSeeder::p_Yspacing
double p_Yspacing
The spacing in the y direction between points.
Definition: StripPolygonSeeder.h:67
Isis::StripPolygonSeeder::Parse
virtual void Parse(Pvl &pvl)
Parse the StripSeeder spicific parameters from the PVL.
Definition: StripPolygonSeeder.cpp:108
Isis::Pvl
Container for cube-like labels.
Definition: Pvl.h:119
Isis::StripPolygonSeeder::PluginParameters
virtual PvlGroup PluginParameters(QString grpName)
Plugin parameters.
Definition: StripPolygonSeeder.cpp:161
Isis::StripPolygonSeeder
Seed points using a grid with a staggered pattern.
Definition: StripPolygonSeeder.h:51
Isis::PvlGroup
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
Isis::StripPolygonSeeder::StripPolygonSeeder
StripPolygonSeeder(Pvl &pvl)
Construct a StripPolygonSeeder algorithm.
Definition: StripPolygonSeeder.cpp:27
Isis::StripPolygonSeeder::Seed
std::vector< geos::geom::Point * > Seed(const geos::geom::MultiPolygon *mp)
Seed a polygon with points.
Definition: StripPolygonSeeder.cpp:51
Isis::StripPolygonSeeder::p_Xspacing
double p_Xspacing
The spacing in the x direction between points.
Definition: StripPolygonSeeder.h:66
Isis::PolygonSeeder
This class is used as the base class for all PolygonSeeder objects.
Definition: PolygonSeeder.h:47
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16