[TD]implement BrokenView

This commit is contained in:
wandererfan
2024-03-14 21:04:23 -04:00
committed by WandererFan
parent efa3a7e6ef
commit 43fc04309a
31 changed files with 2749 additions and 32 deletions

View File

@@ -60,6 +60,15 @@ void pointPair::move(const Base::Vector3d& offset)
m_overrideSecond = m_overrideSecond - offset;
}
//move the points by factor
void pointPair::scale(double factor)
{
m_first = m_first * factor;
m_second = m_second * factor;
m_overrideFirst = m_overrideFirst * factor;
m_overrideSecond = m_overrideSecond * factor;
}
// project the points onto the dvp's paper plane.
void pointPair::project(const DrawViewPart* dvp)
{