1
# This file was created automatically by SWIG.
4
def __init__(self,*args):
5
self.this = apply(Projectionc.new_Projection,args)
8
def __del__(self,Projectionc=Projectionc):
10
Projectionc.delete_Projection(self)
12
val = apply(Projectionc.Projection_Forward,args)
15
val = apply(Projectionc.Projection_Inverse,args)
18
val = apply(Projectionc.Projection_cobject,args)
21
"units" : Projectionc.Projection_units_set,
22
"proj" : Projectionc.Projection_proj_set,
24
def __setattr__(self,name,value):
25
if (name == "this") or (name == "thisown"): self.__dict__[name] = value; return
26
method = Projection.__setmethods__.get(name,None)
27
if method: return method(self,value)
28
self.__dict__[name] = value
30
"units" : Projectionc.Projection_units_get,
31
"proj" : Projectionc.Projection_proj_get,
33
def __getattr__(self,name):
34
method = Projection.__getmethods__.get(name,None)
35
if method: return method(self)
36
raise AttributeError,name
38
return "<C Projection instance at %s>" % (self.this,)
39
class ProjectionPtr(Projection):
40
def __init__(self,this):
43
self.__class__ = Projection
49
#-------------- FUNCTION WRAPPERS ------------------
51
int_array = Projectionc.int_array
53
int_destroy = Projectionc.int_destroy
55
int_get = Projectionc.int_get
57
int_set = Projectionc.int_set
59
double_array = Projectionc.double_array
61
double_destroy = Projectionc.double_destroy
63
double_get = Projectionc.double_get
65
double_set = Projectionc.double_set
67
float_array = Projectionc.float_array
69
float_destroy = Projectionc.float_destroy
71
float_get = Projectionc.float_get
73
float_set = Projectionc.float_set
75
string_array = Projectionc.string_array
77
string_destroy = Projectionc.string_destroy
79
string_get = Projectionc.string_get
81
string_set = Projectionc.string_set
85
#-------------- VARIABLE WRAPPERS ------------------
87
DEGREES = Projectionc.DEGREES
88
RADIANS = Projectionc.RADIANS