File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
Isis 3 Programmer Reference
LimitPolygonSeeder.h
1 #ifndef LimitPolygonSeeder_h
2 #define LimitPolygonSeeder_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 
10 #include <geos/geom/Point.h>
11 #include <geos/geom/MultiPolygon.h>
12 #include <geos/geom/CoordinateArraySequence.h>
13 #include <geos/geom/Polygon.h>
14 
15 #include "PolygonSeeder.h"
16 
17 namespace Isis {
18  class Pvl;
19 
48  public:
49  LimitPolygonSeeder(Pvl &pvl);
50 
52  virtual ~LimitPolygonSeeder() {};
53 
54  std::vector<geos::geom::Point *> Seed(const geos::geom::MultiPolygon *mp);
55 
56  virtual PvlGroup PluginParameters(QString grpName);
57 
58  protected:
59  virtual void Parse(Pvl &pvl);
60 
61  private:
62  geos::geom::Geometry *GetMultiPolygon(double dMinX, double dMinY,
63  double dMaxX, double dMaxY,
64  const geos::geom::MultiPolygon &orig);
67  };
68 };
69 
70 #endif
Isis::LimitPolygonSeeder
Seed points using a grid.
Definition: LimitPolygonSeeder.h:47
Isis::LimitPolygonSeeder::Parse
virtual void Parse(Pvl &pvl)
Parse the LimitPolygonSeeder spicific parameters from the PVL.
Definition: LimitPolygonSeeder.cpp:144
Isis::Pvl
Container for cube-like labels.
Definition: Pvl.h:119
Isis::LimitPolygonSeeder::~LimitPolygonSeeder
virtual ~LimitPolygonSeeder()
Destructor.
Definition: LimitPolygonSeeder.h:52
Isis::LimitPolygonSeeder::p_minorAxisPts
int p_minorAxisPts
Number of points to place on minor axis.
Definition: LimitPolygonSeeder.h:66
Isis::LimitPolygonSeeder::PluginParameters
virtual PvlGroup PluginParameters(QString grpName)
Plugin parameters.
Definition: LimitPolygonSeeder.cpp:198
Isis::PvlGroup
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
Isis::LimitPolygonSeeder::GetMultiPolygon
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.
Definition: LimitPolygonSeeder.cpp:121
Isis::LimitPolygonSeeder::Seed
std::vector< geos::geom::Point * > Seed(const geos::geom::MultiPolygon *mp)
Seed a polygon with points.
Definition: LimitPolygonSeeder.cpp:47
Isis::LimitPolygonSeeder::p_majorAxisPts
int p_majorAxisPts
Number of points to place on major axis.
Definition: LimitPolygonSeeder.h:65
Isis::LimitPolygonSeeder::LimitPolygonSeeder
LimitPolygonSeeder(Pvl &pvl)
Construct a LimitPolygonSeeder algorithm.
Definition: LimitPolygonSeeder.cpp:30
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

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/13/2023 15:16:47