File failed to load: https://isis.astrogeology.usgs.gov/dev/Object/assets/jax/output/NativeMML/config.js
Isis Developer Reference
LimitPolygonSeeder.h
Go to the documentation of this file.
1#ifndef LimitPolygonSeeder_h
2#define LimitPolygonSeeder_h
7
8/* SPDX-License-Identifier: CC0-1.0 */
9
10#include <geos/geom/Point.h>
11#include <geos/geom/MultiPolygon.h>
12#include <geos/geom/CoordinateSequence.h>
13#include <geos/geom/Polygon.h>
14
15#include "PolygonSeeder.h"
16
17namespace Isis {
18 class Pvl;
19
48 public:
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);
65 int p_majorAxisPts;
66 int p_minorAxisPts;
67 };
68};
69
70#endif
virtual ~LimitPolygonSeeder()
Destructor.
Definition LimitPolygonSeeder.h:52
LimitPolygonSeeder(Pvl &pvl)
Construct a LimitPolygonSeeder algorithm.
Definition LimitPolygonSeeder.cpp:30
virtual PvlGroup PluginParameters(QString grpName)
Plugin parameters.
Definition LimitPolygonSeeder.cpp:198
virtual void Parse(Pvl &pvl)
Parse the LimitPolygonSeeder spicific parameters from the PVL.
Definition LimitPolygonSeeder.cpp:144
std::vector< geos::geom::Point * > Seed(const geos::geom::MultiPolygon *mp)
Seed a polygon with points.
Definition LimitPolygonSeeder.cpp:47
PolygonSeeder(Pvl &pvl)
Create PolygonSeeder object.
Definition PolygonSeeder.cpp:30
Contains multiple PvlContainers.
Definition PvlGroup.h:41
Container for cube-like labels.
Definition Pvl.h:122
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16