Triangulate non-planar wires when invoked with --sew-shells

This commit is contained in:
Thomas Krijnen
2017-11-27 16:27:36 +01:00
parent 7cd354ee7d
commit c0a2e3395f
4 changed files with 135 additions and 10 deletions
+1
View File
@@ -230,6 +230,7 @@ public:
void sequence_of_point_to_wire(const TColgp_SequenceOfPnt&, TopoDS_Wire&, bool closed);
bool approximate_plane_through_wire(const TopoDS_Wire&, gp_Pln&);
bool flatten_wire(TopoDS_Wire&);
bool triangulate_wire(const TopoDS_Wire&, TopTools_ListOfShape&);
static double shape_volume(const TopoDS_Shape& s);
static double face_area(const TopoDS_Face& f);