|
Isis Developer Reference
|
Go to the documentation of this file.
14 #include <geos/geom/MultiPolygon.h>
43 ImageOverlap(QString serialNumber, geos::geom::MultiPolygon &polygon);
49 virtual void SetPolygon(
const geos::geom::MultiPolygon &polygon);
50 virtual void SetPolygon(
const geos::geom::MultiPolygon *polygon);
53 void Add(QString &sn);
57 return p_serialNumbers.size();
62 return p_serialNumbers[index];
66 const geos::geom::MultiPolygon *
Polygon()
const {
71 virtual double Area();
79 void Write(std::ostream &outputStream);
82 std::vector<QString> p_serialNumbers;
83 geos::geom::MultiPolygon *p_polygon;
Individual overlap container.
Definition: ImageOverlap.h:40
int Size() const
Definition: ImageOverlap.h:56
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:101
bool HasSerialNumber(QString &sn) const
This method will return true if input serial number exists in the ImageOverlap.
Definition: ImageOverlap.cpp:207
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:186
virtual ~ImageOverlap()
Destroy this ImageOverlap object.
Definition: ImageOverlap.cpp:79
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:157
const geos::geom::MultiPolygon * Polygon() const
Definition: ImageOverlap.h:66
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Isis exception class.
Definition: IException.h:91
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
ImageOverlap()
Construct an empty ImageOverlap object.
Definition: ImageOverlap.cpp:25
virtual double Area()
This method will return the area of the polygon.
Definition: ImageOverlap.cpp:177
void Write(std::ostream &outputStream)
Definition: ImageOverlap.cpp:128
QString operator[](int index) const
Definition: ImageOverlap.h:61
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16