Open CASCADE Technology
7.5.0
|
Convert a grid of Polynomial Surfaces that are have continuity CM to an Bspline Surface that has continuity CM. More...
#include <Convert_GridPolynomialToPoles.hxx>
Public Member Functions | |
Convert_GridPolynomialToPoles (const Standard_Integer MaxUDegree, const Standard_Integer MaxVDegree, const Handle< TColStd_HArray1OfInteger > &NumCoeff, const Handle< TColStd_HArray1OfReal > &Coefficients, const Handle< TColStd_HArray1OfReal > &PolynomialUIntervals, const Handle< TColStd_HArray1OfReal > &PolynomialVIntervals) | |
To only one polynomial Surface. The Length of <PolynomialUIntervals> and <PolynomialVIntervals> have to be 2. This values defined the parametric domain of the Polynomial Equation. More... | |
Convert_GridPolynomialToPoles (const Standard_Integer NbUSurfaces, const Standard_Integer NBVSurfaces, const Standard_Integer UContinuity, const Standard_Integer VContinuity, const Standard_Integer MaxUDegree, const Standard_Integer MaxVDegree, const Handle< TColStd_HArray2OfInteger > &NumCoeffPerSurface, const Handle< TColStd_HArray1OfReal > &Coefficients, const Handle< TColStd_HArray1OfReal > &PolynomialUIntervals, const Handle< TColStd_HArray1OfReal > &PolynomialVIntervals, const Handle< TColStd_HArray1OfReal > &TrueUIntervals, const Handle< TColStd_HArray1OfReal > &TrueVIntervals) | |
To one grid of polynomial Surface. Warning! Continuity in each parametric direction can be at MOST the maximum degree of the polynomial functions. More... | |
void | Perform (const Standard_Integer UContinuity, const Standard_Integer VContinuity, const Standard_Integer MaxUDegree, const Standard_Integer MaxVDegree, const Handle< TColStd_HArray2OfInteger > &NumCoeffPerSurface, const Handle< TColStd_HArray1OfReal > &Coefficients, const Handle< TColStd_HArray1OfReal > &PolynomialUIntervals, const Handle< TColStd_HArray1OfReal > &PolynomialVIntervals, const Handle< TColStd_HArray1OfReal > &TrueUIntervals, const Handle< TColStd_HArray1OfReal > &TrueVIntervals) |
Standard_Integer | NbUPoles () const |
Standard_Integer | NbVPoles () const |
const Handle< TColgp_HArray2OfPnt > & | Poles () const |
returns the poles of the BSpline Surface More... | |
Standard_Integer | UDegree () const |
Standard_Integer | VDegree () const |
Standard_Integer | NbUKnots () const |
Standard_Integer | NbVKnots () const |
const Handle< TColStd_HArray1OfReal > & | UKnots () const |
Knots in the U direction. More... | |
const Handle< TColStd_HArray1OfReal > & | VKnots () const |
Knots in the V direction. More... | |
const Handle< TColStd_HArray1OfInteger > & | UMultiplicities () const |
Multiplicities of the knots in the U direction. More... | |
const Handle< TColStd_HArray1OfInteger > & | VMultiplicities () const |
Multiplicities of the knots in the V direction. More... | |
Standard_Boolean | IsDone () const |
Convert a grid of Polynomial Surfaces that are have continuity CM to an Bspline Surface that has continuity CM.
Convert_GridPolynomialToPoles::Convert_GridPolynomialToPoles | ( | const Standard_Integer | MaxUDegree, |
const Standard_Integer | MaxVDegree, | ||
const Handle< TColStd_HArray1OfInteger > & | NumCoeff, | ||
const Handle< TColStd_HArray1OfReal > & | Coefficients, | ||
const Handle< TColStd_HArray1OfReal > & | PolynomialUIntervals, | ||
const Handle< TColStd_HArray1OfReal > & | PolynomialVIntervals | ||
) |
To only one polynomial Surface. The Length of <PolynomialUIntervals> and <PolynomialVIntervals> have to be 2. This values defined the parametric domain of the Polynomial Equation.
Coefficients : The <Coefficients> have to be formated than an "C array" [MaxUDegree+1] [MaxVDegree+1] [3]
Convert_GridPolynomialToPoles::Convert_GridPolynomialToPoles | ( | const Standard_Integer | NbUSurfaces, |
const Standard_Integer | NBVSurfaces, | ||
const Standard_Integer | UContinuity, | ||
const Standard_Integer | VContinuity, | ||
const Standard_Integer | MaxUDegree, | ||
const Standard_Integer | MaxVDegree, | ||
const Handle< TColStd_HArray2OfInteger > & | NumCoeffPerSurface, | ||
const Handle< TColStd_HArray1OfReal > & | Coefficients, | ||
const Handle< TColStd_HArray1OfReal > & | PolynomialUIntervals, | ||
const Handle< TColStd_HArray1OfReal > & | PolynomialVIntervals, | ||
const Handle< TColStd_HArray1OfReal > & | TrueUIntervals, | ||
const Handle< TColStd_HArray1OfReal > & | TrueVIntervals | ||
) |
To one grid of polynomial Surface. Warning! Continuity in each parametric direction can be at MOST the maximum degree of the polynomial functions.
<TrueUIntervals>, <TrueVIntervals> : this is the true parameterisation for the composite surface
Coefficients : The Coefficients have to be formated than an "C array" [NbVSurfaces] [NBUSurfaces] [MaxUDegree+1] [MaxVDegree+1] [3] raises DomainError if <NumCoeffPerSurface> is not a [1, NbVSurfaces*NbUSurfaces, 1,2] array. if <Coefficients> is not a
Standard_Boolean Convert_GridPolynomialToPoles::IsDone | ( | ) | const |
Standard_Integer Convert_GridPolynomialToPoles::NbUKnots | ( | ) | const |
Standard_Integer Convert_GridPolynomialToPoles::NbUPoles | ( | ) | const |
Standard_Integer Convert_GridPolynomialToPoles::NbVKnots | ( | ) | const |
Standard_Integer Convert_GridPolynomialToPoles::NbVPoles | ( | ) | const |
void Convert_GridPolynomialToPoles::Perform | ( | const Standard_Integer | UContinuity, |
const Standard_Integer | VContinuity, | ||
const Standard_Integer | MaxUDegree, | ||
const Standard_Integer | MaxVDegree, | ||
const Handle< TColStd_HArray2OfInteger > & | NumCoeffPerSurface, | ||
const Handle< TColStd_HArray1OfReal > & | Coefficients, | ||
const Handle< TColStd_HArray1OfReal > & | PolynomialUIntervals, | ||
const Handle< TColStd_HArray1OfReal > & | PolynomialVIntervals, | ||
const Handle< TColStd_HArray1OfReal > & | TrueUIntervals, | ||
const Handle< TColStd_HArray1OfReal > & | TrueVIntervals | ||
) |
const Handle< TColgp_HArray2OfPnt >& Convert_GridPolynomialToPoles::Poles | ( | ) | const |
returns the poles of the BSpline Surface
Standard_Integer Convert_GridPolynomialToPoles::UDegree | ( | ) | const |
const Handle< TColStd_HArray1OfReal >& Convert_GridPolynomialToPoles::UKnots | ( | ) | const |
Knots in the U direction.
const Handle< TColStd_HArray1OfInteger >& Convert_GridPolynomialToPoles::UMultiplicities | ( | ) | const |
Multiplicities of the knots in the U direction.
Standard_Integer Convert_GridPolynomialToPoles::VDegree | ( | ) | const |
const Handle< TColStd_HArray1OfReal >& Convert_GridPolynomialToPoles::VKnots | ( | ) | const |
Knots in the V direction.
const Handle< TColStd_HArray1OfInteger >& Convert_GridPolynomialToPoles::VMultiplicities | ( | ) | const |
Multiplicities of the knots in the V direction.