  | 
  
    Isis Developer Reference
    
   | 
 
 
 
 
Go to the documentation of this file.    1 #ifndef LimitPolygonSeeder_h 
    2 #define LimitPolygonSeeder_h 
   10 #include <geos/geom/Point.h> 
   11 #include <geos/geom/MultiPolygon.h> 
   12 #include <geos/geom/CoordinateArraySequence.h> 
   13 #include <geos/geom/Polygon.h> 
   54       std::vector<geos::geom::Point *> 
Seed(
const geos::geom::MultiPolygon *mp);
 
   62       geos::geom::Geometry *GetMultiPolygon(
double dMinX, 
double dMinY,
 
   63                                             double dMaxX, 
double dMaxY,
 
   64                                             const geos::geom::MultiPolygon &orig);
 
 
 
Seed points using a grid.
Definition: LimitPolygonSeeder.h:47
 
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
Definition: PvlObject.h:129
 
virtual void Parse(Pvl &pvl)
Parse the LimitPolygonSeeder spicific parameters from the PVL.
Definition: LimitPolygonSeeder.cpp:144
 
A single keyword-value pair.
Definition: PvlKeyword.h:82
 
void addKeyword(const PvlKeyword &keyword, const InsertMode mode=Append)
Add a keyword to the container.
Definition: PvlContainer.cpp:202
 
bool hasKeyword(const QString &name) const
Check to see if a keyword exists.
Definition: PvlContainer.cpp:159
 
Container for cube-like labels.
Definition: Pvl.h:119
 
static geos::geom::GeometryFactory::Ptr globalFactory
Definition: PolygonTools.h:51
 
double MinimumArea()
Return the minimum allowed area of the polygon.
Definition: PolygonSeeder.cpp:195
 
virtual ~LimitPolygonSeeder()
Destructor.
Definition: LimitPolygonSeeder.h:52
 
virtual PvlGroup PluginParameters(QString grpName)
Plugin parameters.
Definition: LimitPolygonSeeder.cpp:198
 
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
 
@ Traverse
Search child objects.
Definition: PvlObject.h:158
 
double MinimumThickness()
Return the minimum allowed thickness of the polygon.
Definition: PolygonSeeder.cpp:183
 
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
 
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
 
Pvl * invalidInput
The Pvl passed in by the constructor minus what was used.
Definition: PolygonSeeder.h:78
 
Isis::PolygonSeeder * LimitPolygonSeederPlugin(Isis::Pvl &pvl)
Create a LimitPolygonSeeder object.
Definition: LimitPolygonSeeder.cpp:230
 
QString fileName() const
Returns the filename used to initialise the Pvl object.
Definition: PvlContainer.h:232
 
Isis exception class.
Definition: IException.h:91
 
virtual void Parse(Pvl &pvl)
Initialize parameters in the PolygonSeeder class using a PVL specification.
Definition: PolygonSeeder.cpp:85
 
std::vector< geos::geom::Point * > Seed(const geos::geom::MultiPolygon *mp)
Seed a polygon with points.
Definition: LimitPolygonSeeder.cpp:47
 
void deleteKeyword(const QString &name)
Remove a specified keyword.
Definition: PvlContainer.cpp:97
 
QString Algorithm() const
The name of the algorithm, read from the Name Keyword in the PolygonSeeder Pvl passed into the constr...
Definition: PolygonSeeder.cpp:172
 
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:146
 
Adds specific functionality to C++ strings.
Definition: IString.h:165
 
LimitPolygonSeeder(Pvl &pvl)
Construct a LimitPolygonSeeder algorithm.
Definition: LimitPolygonSeeder.cpp:30
 
This class is used as the base class for all PolygonSeeder objects.
Definition: PolygonSeeder.h:47
 
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
 
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
Definition: IException.h:126