Hi all,

I'm currently working on the implementation of periodic splines. They are used according ODF1.2 for the case of closed lines. The relevant code is in chart2/source/view/charttypes/Splines.cxx

The method GetInterpolatedValue() can be used in periodic case too.

I can define a constructor with a different signature, because the first derivation is not needed for a periodic spline.

But the method calculate(), which is called in the constructor, needs do be different.

How should I organize it?
My ideas:
   Introduce a member for the kind of spline
or
   Change calculate to use a parameter for the kind of spline
or
   Introduce a new method calculatePeriodic()

Or other ideas?

Kind regards
Regina






--
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help

Reply via email to