Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Data Structures
Convert_CompPolynomialToPoles.hxx File Reference
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>
#include <Handle_TColStd_HArray1OfReal.hxx>
#include <Handle_TColStd_HArray1OfInteger.hxx>
#include <Handle_TColStd_HArray2OfReal.hxx>
#include <Standard_Integer.hxx>
#include <Standard_Boolean.hxx>

Data Structures

class  Convert_CompPolynomialToPoles
 To convert an function (curve) polynomial by span in a BSpline.

This class uses the following arguments :
NumCurves : the number of Polynomial Curves
Continuity: the requested continuity for the n-dimensional Spline
Dimension : the dimension of the Spline
MaxDegree : maximum allowed degree for each composite
polynomial segment.
NumCoeffPerCurve : the number of coefficient per segments = degree - 1
Coefficients : the coefficients organized in the following way
[1..<myNumPolynomials>][1..myMaxDegree +1][1..myDimension]
that is : index [n,d,i] is at slot
(n-1) * (myMaxDegree + 1) * myDimension + (d-1) * myDimension + i
PolynomialIntervals : nth polynomial represents a polynomial between
myPolynomialIntervals->Value(n,0) and
myPolynomialIntervals->Value(n,1)
TrueIntervals : the nth polynomial has to be mapped linearly to be
defined on the following interval :
myTrueIntervals->Value(n) and myTrueIntervals->Value(n+1)
so that it represent adequatly the function with the
required continuity
More...