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();
77 QString operator[](
int index)
const {
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;
virtual ~ImageOverlap()
Destroy this ImageOverlap object.
bool HasAnySameSerialNumber(ImageOverlap &other) const
This method will return true if any serial number from this ImageOverlap is also in the other ImageOv...
void Add(QString &sn)
This method will add a new serial number to the list of serial numbers alread associated with the ove...
bool HasSerialNumber(QString &sn) const
This method will return true if input serial number exists in the ImageOverlap.
virtual void SetPolygon(const geos::geom::MultiPolygon &polygon)
This method will replace the existing polygon that defines the overlap with a new one...
void Init()
Initialize this object to a known state.
virtual double Area()
This method will return the area of the polygon.
ImageOverlap()
Construct an empty ImageOverlap object.
Namespace for ISIS/Bullet specific routines.
Individual overlap container.