80 for (
int i = 0 ; i <
p_nbytes ; i++) {
100 for (i = 0 ; i < rbytes ; i++) {
101 if (rawbuf[i] != 0)
break;
103 int nbytes = rbytes - i;
104 return (QString::fromLatin1(&rawbuf[i], nbytes));
QString polygon() const
Accesses the well-known text string that defines the polygon.
int p_nbytes
Size of blob data (in bytes)
char * p_buffer
Buffer blob data is stored in.
QString scrub(const char *rawbuf, int rbytes) const
This method will scrub all zeros that prefix the given buffer and convert it to a string using the nu...
~GisBlob()
Destroys the GisBlob object.
QString m_wkt
Well-known text string containing the polygon defintion for this GIS blob.
GisBlob()
Constructs an Isis polygon-type Blob named "Footprint.".
void read(Blob &blob) const
This method will read data from the specified Blob object.
void setPolygon(const QString &wkt)
Sets the polygon using the given well-known text string.
Namespace for ISIS/Bullet specific routines.
IO Handler for Isis Cubes.