RAVE
|
Defines an area, the extent, projection, etc. More...
Classes | |
struct | _Area_t |
Represents the area. More... | |
Functions | |
int | Area_setID (Area_t *area, const char *id) |
Sets the ID for this area. | |
const char * | Area_getID (Area_t *area) |
Returns the ID for this area. | |
int | Area_setDescription (Area_t *area, const char *description) |
Sets the description for this area. | |
const char * | Area_getDescription (Area_t *area) |
Returns the description for this area. | |
void | Area_setXSize (Area_t *area, long xsize) |
Sets the xsize. | |
long | Area_getXSize (Area_t *area) |
Returns the xsize. | |
void | Area_setYSize (Area_t *area, long ysize) |
Sets the ysize. | |
long | Area_getYSize (Area_t *area) |
Returns the ysize. | |
void | Area_setXScale (Area_t *area, double xscale) |
Sets the xscale. | |
double | Area_getXScale (Area_t *area) |
Returns the xscale. | |
void | Area_setYScale (Area_t *area, double yscale) |
Sets the yscale. | |
double | Area_getYScale (Area_t *area) |
Returns the yscale. | |
void | Area_setExtent (Area_t *area, double llX, double llY, double urX, double urY) |
Sets the area extent (lower-left, upper-right) | |
void | Area_getExtent (Area_t *area, double *llX, double *llY, double *urX, double *urY) |
Returns the area extent (lower-left, upper-right) | |
void | Area_setProjection (Area_t *area, Projection_t *projection) |
Sets the projection that defines this area. | |
Projection_t * | Area_getProjection (Area_t *area) |
Returns the projection that defines this area. | |
int | Area_setPcsid (Area_t *area, const char *pcsid) |
The pcsid (projection id) for this area. | |
const char * | Area_getPcsid (Area_t *area) |
Returns the projection id for this area. | |
Variables | |
RaveCoreObjectType | Area_TYPE |
Type definition to use when creating a rave object. | |
Defines an area, the extent, projection, etc.
const char * Area_getDescription | ( | Area_t * | area | ) |
Returns the description for this area.
[in] | area | - self |
void Area_getExtent | ( | Area_t * | area, |
double * | llX, | ||
double * | llY, | ||
double * | urX, | ||
double * | urY ) |
Returns the area extent (lower-left, upper-right)
[in] | area | - self |
[out] | llX | - lower left X position (may be NULL) |
[out] | llY | - lower left Y position (may be NULL) |
[out] | urX | - upper right X position (may be NULL) |
[out] | urY | - upper right Y position (may be NULL) |
const char * Area_getID | ( | Area_t * | area | ) |
Returns the ID for this area.
[in] | area | - self |
const char * Area_getPcsid | ( | Area_t * | area | ) |
Returns the projection id for this area.
[in] | area | - self |
Projection_t * Area_getProjection | ( | Area_t * | area | ) |
Returns the projection that defines this area.
[in] | area | - self |
double Area_getXScale | ( | Area_t * | area | ) |
Returns the xscale.
[in] | area | - the area |
long Area_getXSize | ( | Area_t * | area | ) |
Returns the xsize.
[in] | area | - self |
double Area_getYScale | ( | Area_t * | area | ) |
Returns the yscale.
[in] | area | - the area |
long Area_getYSize | ( | Area_t * | area | ) |
Returns the ysize.
[in] | area | - the area |
int Area_setDescription | ( | Area_t * | area, |
const char * | description ) |
Sets the description for this area.
[in] | area | - self |
[in] | description | - the description |
void Area_setExtent | ( | Area_t * | area, |
double | llX, | ||
double | llY, | ||
double | urX, | ||
double | urY ) |
Sets the area extent (lower-left, upper-right)
[in] | area | - self |
[in] | llX | - lower left X position |
[in] | llY | - lower left Y position |
[in] | urX | - upper right X position |
[in] | urY | - upper right Y position |
int Area_setID | ( | Area_t * | area, |
const char * | id ) |
Sets the ID for this area.
[in] | area | - self |
[in] | id | - the id |
int Area_setPcsid | ( | Area_t * | area, |
const char * | pcsid ) |
The pcsid (projection id) for this area.
When setting this id, the projection (if any) will be released unless the pcsid == Projection_getID.
[in] | area | - self |
[in] | pcsid | - the projection id |
void Area_setProjection | ( | Area_t * | area, |
Projection_t * | projection ) |
Sets the projection that defines this area.
[in] | area | - self |
[in] | projection | - the projection |
void Area_setXScale | ( | Area_t * | area, |
double | xscale ) |
Sets the xscale.
[in] | area | - the area |
[in] | xscale | - the xscale |
void Area_setXSize | ( | Area_t * | area, |
long | xsize ) |
Sets the xsize.
[in] | area | - the area |
[in] | xsize | - the xsize |
void Area_setYScale | ( | Area_t * | area, |
double | yscale ) |
Sets the yscale.
[in] | area | - the area |
[in] | yscale | - the yscale |
void Area_setYSize | ( | Area_t * | area, |
long | ysize ) |
Sets the ysize.
[in] | area | - the area |
[in] | ysize | - the ysize |
RaveCoreObjectType Area_TYPE |