girange.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef GIRANGE_H
00029 #define GIRANGE_H
00030
00031 #include <cxtypes.h>
00032
00033 #include <cpl_macros.h>
00034
00035
00036 #ifdef __cplusplus
00037 extern "C" {
00038 #endif
00039
00040
00041 typedef struct GiRange GiRange;
00042
00043 GiRange *giraffe_range_new(void);
00044 GiRange *giraffe_range_create(cxdouble min, cxdouble max);
00045 void giraffe_range_delete(GiRange *self);
00046
00047 void giraffe_range_set_min(GiRange *self, cxdouble min);
00048 cxdouble giraffe_range_get_min(const GiRange *const self);
00049 void giraffe_range_set_max(GiRange *self, cxdouble max);
00050 cxdouble giraffe_range_get_max(const GiRange *const self);
00051
00052
00053 #ifdef __cplusplus
00054 }
00055 #endif
00056
00057 #endif