29 const bool bIsBezier(rBase.
isBezier());
38 else if(nDivisions > 1000)
52 for(sal_uInt32
a(1);;)
67 const B2DVector aLastEdge(aLastNext - aNext);
102 return fDistance / fLength;
110 const double fLinearInterpolatedLength((fDistance - fLowBound) / (fHighBound - fLowBound));
112 return (
static_cast< double >(
nIndex) + fLinearInterpolatedLength) /
static_cast< double >(
mnEdgeCount);
double distanceToRelative(double fDistance) const
::std::vector< double > maLengthArray
B2DCubicBezierHelper(const B2DCubicBezier &rBase, sal_uInt32 nDivisions=9)
const B2DPoint & getStartPoint() const
B2DPoint interpolatePoint(double t) const
const B2DPoint & getEndPoint() const
SAL_DLLPRIVATE double getEdgeLength() const
Base Point class with two double values.
Base Point class with two double values.
double getLength() const
Calculate the length of this 2D Vector.