16 LT_BEGIN_LIZARDTECH_NAMESPACE
44 double xRes,
double yRes,
45 double xRot,
double yRot,
46 const char *wkt =
nullptr);
156 void get(
double& xUL,
double& yUL,
157 double& xRes,
double& yRes,
158 double& xRot,
double& yRot)
const;
171 double &geoX,
double &geoY)
const;
173 double &geoX,
double &geoY)
const;
186 double &pixelX,
double &pixelY)
const;
188 double &pixelX,
double &pixelY)
const;
281 void set(
double xUL,
double yUL,
282 double xRes,
double yRes,
283 double xRot,
double yRot);
306 bool determineExtension)
const;
320 bool determineExtension,
390 LT_END_LIZARDTECH_NAMESPACE
lt_uint32 LT_STATUS
An integral status code.
This file contains a number of enums, typedefs, etc, that are used throughout the MrSID SDK.
Represents a file or directory path.
Abstract definition of a stream.
represents a geographic coordinate
void get(double &xUL, double &yUL, double &xRes, double &yRes, double &xRot, double &yRot) const
get the coordinate information
LTIGeoCoord(const LTIGeoCoord &)
copy constructor
void setX(double x)
set the upper-left X position
void setXRot(double xRot)
set the X rotation
const char * getWKT() const
get the Well Known Text (WKT)
void setXRes(double xRes)
set the X resolution
LT_STATUS geoToPixelEx(double geoX, double geoY, double mag, double &pixelX, double &pixelY) const
LT_STATUS writeMetadata(LTIMetadataDatabase &metadata) const
write data to metadata
double getXRes() const
get the X resolution
bool operator!=(const LTIGeoCoord &) const
inequality operator
LT_STATUS readWorldFile(const LTFileSpec &fileSpec, bool determineExtension, bool &fileFound)
read data from world file
LT_STATUS readWorldFile(LTIOStreamInf &stream)
read data from world file, via a stream
LT_STATUS geoToPixel(double geoX, double geoY, double mag, double &pixelX, double &pixelY) const
convert a geo coordinate to pixel coordinate
LT_STATUS writeWorldFile(const LTFileSpec &fileSpec, bool determineExtension) const
write data to world file
void setY(double y)
set the upper-left Y position
void setYRot(double yRot)
set the Y rotation
double getYRot() const
get the Y rotation
bool hasRotation(void) const
void set(double xUL, double yUL, double xRes, double yRes, double xRot, double yRot)
set the coordinate information
LTIGeoCoord & operator=(const LTIGeoCoord &)
assignment operator
double getY() const
get the upper-left Y position
double getX() const
get the upper-left X position
LTIGeoCoord scaleGeoCoord(double xMag, double yMag) const
get the coordinate information for a given offset and scale
LTIGeoCoord()
default constructor
void setWKT(const char *wkt)
set the WKT
LTIGeoCoord(double xUL, double yUL, double xRes, double yRes, double xRot, double yRot, const char *wkt=nullptr)
constructor
LT_STATUS pixelToGeo(double pixelX, double pixelY, double mag, double &geoX, double &geoY) const
convert a pixel coordinate to geo coordinate
void setYRes(double yRes)
set the Y resolution
bool operator==(const LTIGeoCoord &) const
equality operator
double getYRes() const
get the Y resolution
LT_STATUS pixelToGeoEx(double pixelX, double pixelY, double mag, double &geoX, double &geoY) const
static LT_STATUS getWorldFileExtension(const LTFileSpec &fileSpec, char *ext)
get file extension text
double getXRot() const
get the X rotation
LT_STATUS readMetadata(const LTIMetadataDatabase &metadata, bool &found)
read data from metadata
LTIGeoCoord getGeoCoordForScene(const LTIScene &scene) const
get the coordinate information for a given scene
class for storing metadata associated with an image
representation of a scene