Fix Hatch path fp math

Fix section face painting
This commit is contained in:
WandererFan
2016-03-21 09:33:38 -04:00
committed by wmayer
parent 9d4e14e154
commit 8019841c4f
11 changed files with 154 additions and 137 deletions

View File

@@ -109,11 +109,16 @@ public:
void dumpVertexes(const char* text, const TopoDS_Shape& s);
protected:
TechDrawGeometry::GeometryObject *geometryObject;
Base::BoundBox3d bbox;
void onChanged(const App::Property* prop);
Base::Vector3d getValidXDir() const;
void buildGeometryObject(TopoDS_Shape shape, gp_Pnt& center);
TechDrawGeometry::GeometryObject *geometryObject;
Base::BoundBox3d bbox;
void extractFaces();
std::vector<TopoDS_Wire> connectEdges (std::vector<TopoDS_Edge>& edges);
std::vector<TopoDS_Wire> sortWiresBySize(std::vector<TopoDS_Wire>& w, bool reverse = false);
class wireCompare;
private:
static App::PropertyFloatConstraint::Constraints floatRange;