26#ifndef PROJECTION_PIPELINE_H
27#define PROJECTION_PIPELINE_H
Projection_t * ProjectionPipeline_getFirstProjection(ProjectionPipeline_t *pipeline)
Returns the first projection.
Definition projection_pipeline.c:289
ProjectionPipeline_t * ProjectionPipeline_createDefaultLonLatPipelineFromDef(const char *other)
Creates a default pipeline used for translating between lon/lat and the other projection where other ...
Definition projection_pipeline.c:171
ProjectionPipeline_t * ProjectionPipeline_createDefaultLonLatPipeline(Projection_t *other)
Creates a default pipeline used for translating between lon/lat and the other projection.
Definition projection_pipeline.c:159
ProjectionPipeline_t * ProjectionPipeline_createPipelineFromDef(const char *first, const char *second)
Creates a pipeline from one projection to another.
Definition projection_pipeline.c:147
Projection_t * ProjectionPipeline_getSecondProjection(ProjectionPipeline_t *pipeline)
Returns the second projection.
Definition projection_pipeline.c:295
int ProjectionPipeline_inv(ProjectionPipeline_t *pipeline, double inu, double inv, double *outu, double *outv)
Transforms the coordinates from second projection to first projection using this pipeline.
Definition projection_pipeline.c:334
RaveCoreObjectType ProjectionPipeline_TYPE
Type definition to use when creating a rave object.
Definition projection_pipeline.c:369
ProjectionPipeline_t * ProjectionPipeline_createPipeline(Projection_t *first, Projection_t *second)
Creates a pipeline from one projection to another.
Definition projection_pipeline.c:135
int ProjectionPipeline_init(ProjectionPipeline_t *pipeline, Projection_t *first, Projection_t *second)
Initializes a pipeline with the projections.
Definition projection_pipeline.c:177
int ProjectionPipeline_initFromDef(ProjectionPipeline_t *pipeline, const char *first, const char *second)
Initializes a pipeline with the projection definitions.
Definition projection_pipeline.c:229
int ProjectionPipeline_fwd(ProjectionPipeline_t *pipeline, double inu, double inv, double *outu, double *outv)
Transforms the coordinates from first projection to second projection using this pipeline.
Definition projection_pipeline.c:301
Generic implementation of an object that is used within rave.
Represents one projection.
Definition projection_pipeline.c:43
Projection_t * first
First projection.
Definition projection_pipeline.c:46
Projection_t * second
Second projection.
Definition projection_pipeline.c:47
Represents one projection.
Definition projection.c:55
The rave object type definition.
Definition rave_object.h:52