[TD]rotate centerlines with view

This commit is contained in:
wandererfan
2023-09-05 18:59:31 -04:00
committed by WandererFan
parent 23c386dfee
commit 71f1e6b09b
2 changed files with 58 additions and 27 deletions

View File

@@ -89,7 +89,7 @@ public:
const bool flip = false);
TechDraw::BaseGeomPtr scaledGeometry(const TechDraw::DrawViewPart* partFeat);
static std::tuple<Base::Vector3d, Base::Vector3d> rotatePointsAroundMid(
static std::pair<Base::Vector3d, Base::Vector3d> rotatePointsAroundMid(
const Base::Vector3d& p1,
const Base::Vector3d& p2,
const Base::Vector3d& mid,
@@ -101,7 +101,8 @@ public:
const double ext,
const double hShift,
const double vShift,
const double rotate);
const double rotate,
const double viewAngleDeg);
static std::pair<Base::Vector3d, Base::Vector3d> calcEndPoints(
const TechDraw::DrawViewPart* partFeat,
const std::vector<std::string>& faceNames,