[TD]correct alignment of Section & Detail with Base

This commit is contained in:
wandererfan
2019-11-17 13:55:19 -05:00
committed by WandererFan
parent 7e6664e39d
commit 9d9d41bcd0
17 changed files with 625 additions and 418 deletions

View File

@@ -90,15 +90,12 @@ public:
public:
std::vector<TechDraw::Face*> getFaceGeometry();
Base::Vector3d getSectionVector (const std::string sectionName);
void setCSFromBase(const std::string sectionName);
gp_Ax2 getCSFromBase(const std::string sectionName);
gp_Ax2 rotateCSCardinal(gp_Ax2 oldCS, int cardinal) const;
gp_Ax2 rotateCSArbitrary(gp_Ax2 oldCS,
Base::Vector3d axis,
double degAngle) const;
gp_Ax2 getSectionCS(const std::string dirName) const;
gp_Ax2 getSectionCS() const;
TechDraw::DrawViewPart* getBaseDVP() const;
@@ -125,8 +122,8 @@ protected:
gp_Pln getSectionPlane() const;
TopoDS_Compound findSectionPlaneIntersections(const TopoDS_Shape& shape);
TopoDS_Face projectFace(const TopoDS_Shape &face,
gp_Pnt faceCenter,
const Base::Vector3d &direction);
const gp_Ax2 CS);
void getParameters(void);
bool debugSection(void) const;