155 double x,
double y,
double z,
double* ox,
double* oy,
double* oz);
const char * Projection_getDefinition(Projection_t *projection)
Returns the definition for this projection.
Definition projection.c:268
const char * Projection_getID(Projection_t *projection)
Returns the ID for this projection.
Definition projection.c:256
int Projection_init(Projection_t *projection, const char *id, const char *description, const char *definition)
Initializes a projection with the projection.
Definition projection.c:181
RaveCoreObjectType Projection_TYPE
Type definition to use when creating a rave object.
Definition projection.c:514
const char * Projection_getProjVersion(void)
Returns the currently used Proj version.
Definition projection.c:146
Projection_t * Projection_createDefaultLonLatProjection(void)
Creates a default lon lat projection by using the default lonlat pcs definition.
Definition projection.c:244
int Projection_inv(Projection_t *projection, double x, double y, double *lon, double *lat)
Translates surface coordinate into lon/lat.
Definition projection.c:454
int Projection_getDebugLevel(void)
Returns the debug level when using proj API.
Definition projection.c:142
const char * Projection_getDescription(Projection_t *projection)
Returns the description for this projection.
Definition projection.c:262
const char * Projection_getDefaultLonLatProjDef(void)
Returns the default lonlat proj definition.
Definition projection.c:172
int Projection_transform(Projection_t *projection, Projection_t *tgt, double *x, double *y, double *z)
Transforms the coordinates in this projection into the target projection.
Definition projection.c:334
int Projection_transformx(Projection_t *projection, Projection_t *tgt, double x, double y, double z, double *ox, double *oy, double *oz)
This is an alternate version of Projection_transform.
Definition projection.c:390
Projection_t * Projection_create(const char *id, const char *description, const char *definition)
Creates a projection directly.
Definition projection.c:232
void Projection_setDebugLevel(int debugPj)
Sets the debug level when using proj API.
Definition projection.c:138
int Projection_isLatLong(Projection_t *projection)
Returns if this projection is a latlong or not.
Definition projection.c:274
int Projection_fwd(Projection_t *projection, double lon, double lat, double *x, double *y)
Translates lon/lat coordinate into a surface coordinate.
Definition projection.c:485
void Projection_setDefaultLonLatProjDef(const char *projdef)
Sets the default lon/lat proj definition to use.
Definition projection.c:165
Generic implementation of an object that is used within rave.
Handles compatibility issues related to PROJ versions and the definitions.
Represents one projection.
Definition projection.c:55
char * description
the description
Definition projection.c:59
char * definition
the proj.4 definition string
Definition projection.c:60
The rave object type definition.
Definition rave_object.h:52