Add xsp wrapper for Pointf class.

This commit is contained in:
Y. Sapir 2014-04-28 01:13:50 +03:00
parent e005ff32c4
commit ad03a88733
3 changed files with 17 additions and 1 deletions

View file

@ -56,6 +56,17 @@ Point::coincides_with(point_sv)
};
%name{Slic3r::Pointf} class Pointf {
Pointf(double _x = 0, double _y = 0);
~Pointf();
Clone<Pointf> clone()
%code{% RETVAL = THIS; %};
double x()
%code{% RETVAL = THIS->x; %};
double y()
%code{% RETVAL = THIS->y; %};
};
%name{Slic3r::Pointf3} class Pointf3 {
Pointf3(double _x = 0, double _y = 0, double _z = 0);
~Pointf3();