Project wires onto a plane if non-planar. Fixes #57.

This commit is contained in:
Thomas Krijnen
2016-04-16 14:47:09 +02:00
parent 81ee60079e
commit 884b3fe850
3 changed files with 89 additions and 2 deletions
+2
View File
@@ -128,6 +128,8 @@ public:
void remove_collinear_points_from_loop(TColgp_SequenceOfPnt& polygon, bool closed, double tol=-1.);
bool wire_to_sequence_of_point(const TopoDS_Wire&, TColgp_SequenceOfPnt&);
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&);
std::pair<std::string, double> initializeUnits(IfcSchema::IfcUnitAssignment*);