![]() |
Open CASCADE Technology Reference Manual 8.0.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 int MaxUDegree, const int MaxVDegree, const occ::handle< NCollection_HArray1< int > > &NumCoeff, const occ::handle< NCollection_HArray1< double > > &Coefficients, const occ::handle< NCollection_HArray1< double > > &PolynomialUIntervals, const occ::handle< NCollection_HArray1< double > > &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 int NbUSurfaces, const int NBVSurfaces, const int UContinuity, const int VContinuity, const int MaxUDegree, const int MaxVDegree, const occ::handle< NCollection_HArray2< int > > &NumCoeffPerSurface, const occ::handle< NCollection_HArray1< double > > &Coefficients, const occ::handle< NCollection_HArray1< double > > &PolynomialUIntervals, const occ::handle< NCollection_HArray1< double > > &PolynomialVIntervals, const occ::handle< NCollection_HArray1< double > > &TrueUIntervals, const occ::handle< NCollection_HArray1< double > > &TrueVIntervals) | |
| To one grid of polynomial Surface. Warning! Continuity in each parametric direction can be at MOST the maximum degree of the polynomial functions. | |
| int | NbUPoles () const |
| Returns the number of poles in the U parametric direction. | |
| int | NbVPoles () const |
| Returns the number of poles in the V parametric direction. | |
| const NCollection_Array2< gp_Pnt > & | Poles () const |
| Returns the poles of the BSpline Surface. | |
| int | UDegree () const |
| Returns the degree in the U parametric direction. | |
| int | VDegree () const |
| Returns the degree in the V parametric direction. | |
| int | NbUKnots () const |
| Returns the number of knots in the U parametric direction. | |
| int | NbVKnots () const |
| Returns the number of knots in the V parametric direction. | |
| const NCollection_Array1< double > & | UKnots () const |
| Returns the knots in the U direction. | |
| const NCollection_Array1< double > & | VKnots () const |
| Returns the knots in the V direction. | |
| const NCollection_Array1< int > & | UMultiplicities () const |
| Returns the multiplicities of the knots in the U direction. | |
| const NCollection_Array1< int > & | VMultiplicities () const |
| Returns the multiplicities of the knots in the V direction. | |
| bool | IsDone () const |
| Returns true if the conversion was successful. | |
Convert a grid of Polynomial Surfaces that are have continuity CM to an Bspline Surface that has continuity CM.
| Convert_GridPolynomialToPoles::Convert_GridPolynomialToPoles | ( | const int | MaxUDegree, |
| const int | MaxVDegree, | ||
| const occ::handle< NCollection_HArray1< int > > & | NumCoeff, | ||
| const occ::handle< NCollection_HArray1< double > > & | Coefficients, | ||
| const occ::handle< NCollection_HArray1< double > > & | PolynomialUIntervals, | ||
| const occ::handle< NCollection_HArray1< double > > & | 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::Convert_GridPolynomialToPoles | ( | const int | NbUSurfaces, |
| const int | NBVSurfaces, | ||
| const int | UContinuity, | ||
| const int | VContinuity, | ||
| const int | MaxUDegree, | ||
| const int | MaxVDegree, | ||
| const occ::handle< NCollection_HArray2< int > > & | NumCoeffPerSurface, | ||
| const occ::handle< NCollection_HArray1< double > > & | Coefficients, | ||
| const occ::handle< NCollection_HArray1< double > > & | PolynomialUIntervals, | ||
| const occ::handle< NCollection_HArray1< double > > & | PolynomialVIntervals, | ||
| const occ::handle< NCollection_HArray1< double > > & | TrueUIntervals, | ||
| const occ::handle< NCollection_HArray1< double > > & | 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
| bool Convert_GridPolynomialToPoles::IsDone | ( | ) | const |
Returns true if the conversion was successful.
| int Convert_GridPolynomialToPoles::NbUKnots | ( | ) | const |
Returns the number of knots in the U parametric direction.
| int Convert_GridPolynomialToPoles::NbUPoles | ( | ) | const |
Returns the number of poles in the U parametric direction.
| int Convert_GridPolynomialToPoles::NbVKnots | ( | ) | const |
Returns the number of knots in the V parametric direction.
| int Convert_GridPolynomialToPoles::NbVPoles | ( | ) | const |
Returns the number of poles in the V parametric direction.
| const NCollection_Array2< gp_Pnt > & Convert_GridPolynomialToPoles::Poles | ( | ) | const |
Returns the poles of the BSpline Surface.
| int Convert_GridPolynomialToPoles::UDegree | ( | ) | const |
Returns the degree in the U parametric direction.
| const NCollection_Array1< double > & Convert_GridPolynomialToPoles::UKnots | ( | ) | const |
Returns the knots in the U direction.
| const NCollection_Array1< int > & Convert_GridPolynomialToPoles::UMultiplicities | ( | ) | const |
Returns the multiplicities of the knots in the U direction.
| int Convert_GridPolynomialToPoles::VDegree | ( | ) | const |
Returns the degree in the V parametric direction.
| const NCollection_Array1< double > & Convert_GridPolynomialToPoles::VKnots | ( | ) | const |
Returns the knots in the V direction.
| const NCollection_Array1< int > & Convert_GridPolynomialToPoles::VMultiplicities | ( | ) | const |
Returns the multiplicities of the knots in the V direction.