Hi all,
in CalculateBSplines() and CalculateCubicSplines() in Splines.cxx the
points from which the interpolation line is calculated and the resulting
interpolation line are of type drawing::PolyPolygonShape3D.
This contains SequenceX, SequenceY, and SequenceZ. Therefore I had made
all the calculations for the SequenceZ too in my last work on it. But is
that really needed?
What kind of points are transported via PolyPolygonShape3D? If the
Z-coordinate is always the same for all points, for example 1 for
2D-points in homogeneous coordinates, then it would be sufficient to
copy this value from the input PolyPolygonShape3D to the output
PolyPolygonShape3D.
Doing this only 2 instead of 3 cubic spline calculations would be
needed. For the new B-Splines interpolation in ODF1.2 the algorithm for
3D differs slightly from that for 2D in calculating the parameter list.
The other difference would be, doing 2 or 3 DeBoor-Cox calculations.
Kind regards
Regina
--
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help