24using ::com::sun::star::uno::Sequence;
30 : m_aPositionHelper(rPositionHelper)
31 , m_aUnitCartesianToScene( rPositionHelper.getUnitCartesianToScene() )
43 double fScaledLogicAngle = rSourceValues[0];
44 double fScaledLogicRadius = rSourceValues[1];
47 std::swap(fScaledLogicAngle,fScaledLogicRadius);
53 double fX=fRadius*cos(fAnglePi);
54 double fY=fRadius*sin(fAnglePi);
55 double fZ=rSourceValues[2];
60 return css::drawing::Position3D(aRet.
getX(), aRet.
getY(), aRet.
getZ());
64 const css::drawing::Position3D& rSourceValues )
const
66 double fScaledLogicAngle = rSourceValues.PositionX;
67 double fScaledLogicRadius = rSourceValues.PositionY;
70 std::swap(fScaledLogicAngle,fScaledLogicRadius);
76 double fX=fRadius*cos(fAnglePi);
77 double fY=fRadius*sin(fAnglePi);
78 double fZ=rSourceValues.PositionZ;
83 return css::drawing::Position3D(aRet.
getX(), aRet.
getY(), aRet.
getZ());
double transformToAngleDegree(double fLogicValueOnAngleAxis, bool bDoScaling=true) const
Given a value in the angle axis scale range (e.g.
double transformToRadius(double fLogicValueOnRadiusAxis, bool bDoScaling=true) const
Given a value in the radius axis scale range, it returns the normalized value.
constexpr double deg2rad(double v)