mirror of
https://github.com/gwm17/catima.git
synced 2024-11-26 20:18:51 -05:00
python module
This commit is contained in:
parent
9254e0d77a
commit
97e4f35fd8
|
@ -64,6 +64,10 @@ cdef class Material:
|
||||||
return self.cbase.thickness()
|
return self.cbase.thickness()
|
||||||
else:
|
else:
|
||||||
return self.cbase.thickness(val)
|
return self.cbase.thickness(val)
|
||||||
|
|
||||||
|
def thickness_cm(self, val):
|
||||||
|
return self.cbase.thickness_cm(val)
|
||||||
|
|
||||||
def I(self, val=None):
|
def I(self, val=None):
|
||||||
if(val is None):
|
if(val is None):
|
||||||
return self.cbase.I()
|
return self.cbase.I()
|
||||||
|
|
|
@ -48,6 +48,7 @@ cdef extern from "catima/structures.h" namespace "catima":
|
||||||
void density(double val)
|
void density(double val)
|
||||||
double thickness()
|
double thickness()
|
||||||
void thickness(double val)
|
void thickness(double val)
|
||||||
|
void thickness_cm(double val)
|
||||||
void calculate()
|
void calculate()
|
||||||
double I()
|
double I()
|
||||||
void I(double val)
|
void I(double val)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user