File failed to load: https://isis.astrogeology.usgs.gov/3.9.0/Object/assets/jax/output/NativeMML/config.js
Isis 3 Developer Reference
GridPolygonSeeder.h
Go to the documentation of this file.
1 #ifndef GridPolygonSeeder_h
2 #define GridPolygonSeeder_h
3 
26 #include "geos/geom/Point.h"
27 #include "geos/geom/MultiPolygon.h"
28 
29 #include "PolygonSeeder.h"
30 
31 namespace Isis {
32  class Pvl;
33 
65  public:
66  GridPolygonSeeder(Pvl &pvl);
67 
69  virtual ~GridPolygonSeeder() {};
70 
71  std::vector<geos::geom::Point *> Seed(const geos::geom::MultiPolygon *mp);
72 
73  bool SubGrid() {
74  return p_subGrid;
75  }
76  virtual PvlGroup PluginParameters(QString grpName);
77 
78  protected:
79  virtual void Parse(Pvl &pvl);
80 
81  private:
82  std::vector<geos::geom::Point *> SeedGrid(const geos::geom::MultiPolygon *mp);
83 
84  std::vector<geos::geom::Point *> SeedSubGrid(const geos::geom::MultiPolygon *mp);
85 
86 
87  geos::geom::Point *CheckSubGrid(const geos::geom::MultiPolygon &, const double &,
88  const double &, const int &);
89 
90  double p_Xspacing;
91  double p_Yspacing;
92  bool p_subGrid;
93  };
94 };
95 
96 #endif
virtual void Parse(Pvl &pvl)
Parse the GridPolygonSeeder spicific parameters from the PVL.
Definition: GridPolygonSeeder.cpp:397
virtual PvlGroup PluginParameters(QString grpName)
Plugin parameters.
Definition: GridPolygonSeeder.cpp:458
This class is used as the base class for all PolygonSeeder objects.
Definition: PolygonSeeder.h:63
Seed points using a grid.
Definition: GridPolygonSeeder.h:64
virtual ~GridPolygonSeeder()
Destructor.
Definition: GridPolygonSeeder.h:69
bool SubGrid()
Definition: GridPolygonSeeder.h:73
Contains multiple PvlContainers.
Definition: PvlGroup.h:57
Container for cube-like labels.
Definition: Pvl.h:135
GridPolygonSeeder(Pvl &pvl)
Construct a GridPolygonSeeder algorithm.
Definition: GridPolygonSeeder.cpp:45
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
std::vector< geos::geom::Point * > Seed(const geos::geom::MultiPolygon *mp)
Seed a polygon with points.
Definition: GridPolygonSeeder.cpp:68

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the USGS Astrogeology Discussion Board
To report a bug, or suggest a feature go to: ISIS Github
File Modified: 07/12/2023 23:19:13