Open CASCADE Technology  7.3.0
Public Member Functions

Convert_GridPolynomialToPoles Class Reference

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
 

Detailed Description

Convert a grid of Polynomial Surfaces that are have continuity CM to an Bspline Surface that has continuity CM.

Constructor & Destructor Documentation

◆ 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 formated 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 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

Member Function Documentation

◆ IsDone()

Standard_Boolean Convert_GridPolynomialToPoles::IsDone ( ) const

◆ NbUKnots()

Standard_Integer Convert_GridPolynomialToPoles::NbUKnots ( ) const

◆ NbUPoles()

Standard_Integer Convert_GridPolynomialToPoles::NbUPoles ( ) const

◆ NbVKnots()

Standard_Integer Convert_GridPolynomialToPoles::NbVKnots ( ) const

◆ NbVPoles()

Standard_Integer Convert_GridPolynomialToPoles::NbVPoles ( ) const

◆ 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()

Standard_Integer Convert_GridPolynomialToPoles::UDegree ( ) const

◆ 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()

Standard_Integer Convert_GridPolynomialToPoles::VDegree ( ) const

◆ 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: