Using a slightly adapted code found in the Geometry example, I'm trying to display a 3d spline using GeomAPI_Interpolate.
When i zoom into the view, the spline representation seems to be not very smooth.
Is there a parameter which allows to control the maximum [maybe chordal] error of the displayed discrete line set or is there another approach which reperforms the interpolation in an LOD sense?
I had a look at the tolerance parameter of GeomAPI_Interpolate but it's not what I'm looking for:
//! The tolerance value Tolerance is used to check that:
//! - points are not too close to each other, or
//! - tangential vectors (defined using the
//! function Load) are not too small.
Maybe StdPrs_Curve looks promising as it states
//! A framework to define display of lines, arcs of circles
//! and conic sections.
//! This is done with a fixed number of points, which can be modified.
but I couldn't find out how that would work and if it's what I'm looking for.
Could someone give me a pointer on how to approach that?