1 #ifndef PolygonSeeder_h
2 #define PolygonSeeder_h
29 #include "geos/geom/Point.h"
30 #include "geos/geom/MultiPolygon.h"
75 virtual std::vector<geos::geom::Point *>
76 Seed(
const geos::geom::MultiPolygon *mp) = 0;
89 QString
StandardTests(
const geos::geom::MultiPolygon *multiPoly,
90 const geos::geom::Envelope *polyBoundBox);
97 QString p_algorithmName;
100 double p_minimumThickness;
104 double p_minimumArea;
virtual ~PolygonSeeder()
Destroys the PolygonSeeder object.
Definition: PolygonSeeder.cpp:53
Pvl InvalidInput()
This method returns a copy of the Pvl passed in by the constructor (from a def file probably) minus w...
Definition: PolygonSeeder.cpp:225
PolygonSeeder(Pvl &pvl)
Create PolygonSeeder object.
Definition: PolygonSeeder.cpp:24
Pvl * invalidInput
The Pvl passed in by the constructor minus what was used.
Definition: PolygonSeeder.h:93
This class is used as the base class for all PolygonSeeder objects.
Definition: PolygonSeeder.h:62
Contains multiple PvlContainers.
Definition: PvlGroup.h:57
QString Algorithm() const
The name of the algorithm, read from the Name Keyword in the PolygonSeeder Pvl passed into the constr...
Definition: PolygonSeeder.cpp:166
virtual std::vector< geos::geom::Point * > Seed(const geos::geom::MultiPolygon *mp)=0
Pure virtual seed method.
virtual void Parse(Pvl &pvl)
Initialize parameters in the PolygonSeeder class using a PVL specification.
Definition: PolygonSeeder.cpp:79
Container for cube-like labels.
Definition: Pvl.h:135
QString StandardTests(const geos::geom::MultiPolygon *multiPoly, const geos::geom::Envelope *polyBoundBox)
Check the polygon to see if it meets standard criteria.
Definition: PolygonSeeder.cpp:140
double MinimumThickness()
Return the minimum allowed thickness of the polygon.
Definition: PolygonSeeder.cpp:177
double MinimumArea()
Return the minimum allowed area of the polygon.
Definition: PolygonSeeder.cpp:189
virtual PvlGroup PluginParameters(QString grpName)
Plugin parameters.
Definition: PolygonSeeder.cpp:204
const PolygonSeeder & operator=(const PolygonSeeder &other)
Assignment operator.
Definition: PolygonSeeder.cpp:240