Curve approximation with respect to tangencies

To approximate a curve with respect to tangencies, follow these steps:

Create an object of type AppDef_MultiPointConstraints from the set of points to approximate and use the method SetTang to set the tangency vectors.

 Create an object of type AppDef_MultiLine from the AppDef_MultiPointConstraint.

 Use AppDef_BSplineCompute which instantiates Approx_BSplineComputeLine to perform the approximation.

For more information, refer to the entry for this class in reference documentation.