3D object positioning

This commit is contained in:
Alessandro Ranellucci committed 2014-12-16 01:12:56 +01:00
1 parent a82f95e903
commit fcfb3b98bc
16 files changed
+217 -91

No files matched your search

+14
View File
@@ -66,3 +66,17 @@ Line::coincides_with(line_sv)
%}
};
%name{Slic3r::Linef3} class Linef3 {
Linef3(Pointf3* a, Pointf3* b)
%code{% RETVAL = new Linef3(*a, *b); %};
~Linef3();
Clone<Linef3> clone()
%code{% RETVAL = THIS; %};
Ref<Pointf3> a()
%code{% RETVAL = &THIS->a; %};
Ref<Pointf3> b()
%code{% RETVAL = &THIS->b; %};
Clone<Pointf3> intersect_plane(double z);
};