30 #include <geos/geom/MultiPolygon.h> 59 ImageOverlap(QString serialNumber, geos::geom::MultiPolygon &polygon);
65 virtual void SetPolygon(
const geos::geom::MultiPolygon &polygon);
66 virtual void SetPolygon(
const geos::geom::MultiPolygon *polygon);
69 void Add(QString &sn);
73 return p_serialNumbers.size();
78 return p_serialNumbers[index];
82 const geos::geom::MultiPolygon *
Polygon()
const {
87 virtual double Area();
95 void Write(std::ostream &outputStream);
98 std::vector<QString> p_serialNumbers;
99 geos::geom::MultiPolygon *p_polygon;
int Size() const
Definition: ImageOverlap.h:72
virtual ~ImageOverlap()
Destroy this ImageOverlap object.
Definition: ImageOverlap.cpp:73
bool HasAnySameSerialNumber(ImageOverlap &other) const
This method will return true if any serial number from this ImageOverlap is also in the other ImageOv...
Definition: ImageOverlap.cpp:180
void Add(QString &sn)
This method will add a new serial number to the list of serial numbers alread associated with the ove...
Definition: ImageOverlap.cpp:151
bool HasSerialNumber(QString &sn) const
This method will return true if input serial number exists in the ImageOverlap.
Definition: ImageOverlap.cpp:201
virtual void SetPolygon(const geos::geom::MultiPolygon &polygon)
This method will replace the existing polygon that defines the overlap with a new one...
Definition: ImageOverlap.cpp:95
const geos::geom::MultiPolygon * Polygon() const
Definition: ImageOverlap.h:82
virtual double Area()
This method will return the area of the polygon.
Definition: ImageOverlap.cpp:171
ImageOverlap()
Construct an empty ImageOverlap object.
Definition: ImageOverlap.cpp:19
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
void Write(std::ostream &outputStream)
Definition: ImageOverlap.cpp:122
Individual overlap container.
Definition: ImageOverlap.h:56
QString operator[](int index) const
Definition: ImageOverlap.h:77