1#ifndef LimitPolygonSeeder_h
2#define LimitPolygonSeeder_h
10#include <geos/geom/Point.h>
11#include <geos/geom/MultiPolygon.h>
12#include <geos/geom/CoordinateSequence.h>
13#include <geos/geom/Polygon.h>
15#include "PolygonSeeder.h"
54 std::vector<geos::geom::Point *>
Seed(
const geos::geom::MultiPolygon *mp);
63 double dMaxX,
double dMaxY,
64 const geos::geom::MultiPolygon &orig);
Seed points using a grid.
virtual ~LimitPolygonSeeder()
Destructor.
int p_majorAxisPts
Number of points to place on major axis.
LimitPolygonSeeder(Pvl &pvl)
Construct a LimitPolygonSeeder algorithm.
int p_minorAxisPts
Number of points to place on minor axis.
virtual PvlGroup PluginParameters(QString grpName)
Plugin parameters.
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.
virtual void Parse(Pvl &pvl)
Parse the LimitPolygonSeeder spicific parameters from the PVL.
std::vector< geos::geom::Point * > Seed(const geos::geom::MultiPolygon *mp)
Seed a polygon with points.
This class is used as the base class for all PolygonSeeder objects.
Contains multiple PvlContainers.
Container for cube-like labels.
This is free and unencumbered software released into the public domain.