25#ifndef PYPROJECTIONPIPELINE_H
26#define PYPROJECTIONPIPELINE_H
37#define PyProjectionPipeline_Type_NUM 0
39#define PyProjectionPipeline_GetNative_NUM 1
40#define PyProjectionPipeline_GetNative_RETURN ProjectionPipeline_t*
41#define PyProjectionPipeline_GetNative_PROTO (PyProjectionPipeline*)
43#define PyProjectionPipeline_New_NUM 2
44#define PyProjectionPipeline_New_RETURN PyProjectionPipeline*
45#define PyProjectionPipeline_New_PROTO (ProjectionPipeline_t*)
47#define PyProjectionPipeline_API_pointers 3
49#define PyProjectionPipeline_CAPSULE_NAME "_projectionpipeline._C_API"
51#ifdef PYPROJECTIONPIPELINE_MODULE
53extern PyTypeObject PyProjectionPipeline_Type;
56#define PyProjectionPipeline_Check(op) ((op)->ob_type == &PyProjectionPipeline_Type)
70static void **PyProjectionPipeline_API;
76#define PyProjectionPipeline_GetNative \
77 (*(PyProjectionPipeline_GetNative_RETURN (*)PyProjectionPipeline_GetNative_PROTO) PyProjectionPipeline_API[PyProjectionPipeline_GetNative_NUM])
85#define PyProjectionPipeline_New \
86 (*(PyProjectionPipeline_New_RETURN (*)PyProjectionPipeline_New_PROTO) PyProjectionPipeline_API[PyProjectionPipeline_New_NUM])
91#define PyProjectionPipeline_Check(op) \
92 (Py_TYPE(op) == &PyProjectionPipeline_Type)
94#define PyProjectionPipeline_Type (*(PyTypeObject *)PyProjectionPipeline_API[PyProjectionPipeline_Type_NUM])
99#define import_pyprojectionpipeline() \
100 PyProjectionPipeline_API = (void **)PyCapsule_Import(PyProjectionPipeline_CAPSULE_NAME, 1);
Helper class to support both legacy PROJ.4 projection and > PROJ.4 This object supports RAVE_OBJECT_C...
#define PyProjectionPipeline_GetNative_PROTO
argument prototype for GetNative
Definition pyprojectionpipeline.h:41
#define PyProjectionPipeline_New
Creates a new projection pipeline instance.
Definition pyprojectionpipeline.h:85
#define PyProjectionPipeline_New_PROTO
argument prototype for New
Definition pyprojectionpipeline.h:45
#define PyProjectionPipeline_GetNative_RETURN
return type for GetNative
Definition pyprojectionpipeline.h:40
#define PyProjectionPipeline_GetNative
Returns a pointer to the internal projection pipeline, remember to release the reference when done wi...
Definition pyprojectionpipeline.h:76
#define PyProjectionPipeline_New_RETURN
return type for New
Definition pyprojectionpipeline.h:44
A projection.
Definition pyprojectionpipeline.h:32
PyObject_HEAD ProjectionPipeline_t * pipeline
The pipeline definition.
Definition pyprojectionpipeline.h:34
Represents one projection.
Definition projection_pipeline.c:43