Ported some more methods to C++

This commit is contained in:
Alessandro Ranellucci
2014-08-08 21:48:59 +02:00
parent 678112b926
commit 5a96bad8c2
9 changed files with 61 additions and 50 deletions

View File

@@ -38,6 +38,12 @@
RETVAL = new BoundingBoxf3();
THIS->bounding_box(RETVAL);
%};
Pointf3* center()
%code{%
BoundingBoxf3 bb;
THIS->bounding_box(&bb);
RETVAL = new Pointf3(bb.center());
%};
int facets_count()
%code{% RETVAL = THIS->stl.stats.number_of_facets; %};
void reset_repair_stats();