Convert a grid of Polynomial Surfaces that are have continuity CM to an Bspline Surface that has continuity CM.
More...
#include <Convert_GridPolynomialToPoles.hxx>
|
| 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.
|
|
| 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.
|
|
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 |
|
Convert a grid of Polynomial Surfaces that are have continuity CM to an Bspline Surface that has continuity CM.
◆ Convert_GridPolynomialToPoles() [1/2]
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 formatted than an "C array" [MaxUDegree+1] [MaxVDegree+1] [3]
◆ Convert_GridPolynomialToPoles() [2/2]
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 formatted 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
◆ IsDone()
◆ NbUKnots()
◆ NbUPoles()
◆ NbVKnots()
◆ NbVPoles()
◆ Perform()
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 ) |
◆ Poles()
const Handle< TColgp_HArray2OfPnt > & Convert_GridPolynomialToPoles::Poles |
( |
| ) |
const |
returns the poles of the BSpline Surface
◆ UDegree()
◆ UKnots()
const Handle< TColStd_HArray1OfReal > & Convert_GridPolynomialToPoles::UKnots |
( |
| ) |
const |
Knots in the U direction.
◆ UMultiplicities()
const Handle< TColStd_HArray1OfInteger > & Convert_GridPolynomialToPoles::UMultiplicities |
( |
| ) |
const |
Multiplicities of the knots in the U direction.
◆ VDegree()
◆ VKnots()
const Handle< TColStd_HArray1OfReal > & Convert_GridPolynomialToPoles::VKnots |
( |
| ) |
const |
Knots in the V direction.
◆ VMultiplicities()
const Handle< TColStd_HArray1OfInteger > & Convert_GridPolynomialToPoles::VMultiplicities |
( |
| ) |
const |
Multiplicities of the knots in the V direction.
The documentation for this class was generated from the following file: