Open CASCADE Technology
6.5.4
|
#include <Convert_GridPolynomialToPoles.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | 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 (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 | |
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 | |
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 | |
const Handle_TColStd_HArray1OfReal & | VKnots () const |
Knots in the V direction | |
const Handle_TColStd_HArray1OfInteger & | UMultiplicities () const |
Multiplicities of the knots in the U direction | |
const Handle_TColStd_HArray1OfInteger & | VMultiplicities () const |
Multiplicities of the knots in the V direction | |
Standard_Boolean | IsDone () const |
DEFINE_STANDARD_ALLOC 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 | ||
) |
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 | ||
) |
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 |
const Handle_TColStd_HArray1OfReal& Convert_GridPolynomialToPoles::UKnots | ( | ) | const |
const Handle_TColStd_HArray1OfInteger& Convert_GridPolynomialToPoles::UMultiplicities | ( | ) | const |
const Handle_TColStd_HArray1OfReal& Convert_GridPolynomialToPoles::VKnots | ( | ) | const |
const Handle_TColStd_HArray1OfInteger& Convert_GridPolynomialToPoles::VMultiplicities | ( | ) | const |