Open CASCADE Technology 6.6.0
Public Member Functions
Convert_GridPolynomialToPoles Class Reference

#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.

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

Constructor & Destructor Documentation

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 
)

Member Function Documentation

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
Standard_Integer Convert_GridPolynomialToPoles::UDegree ( ) const
const Handle_TColStd_HArray1OfReal& Convert_GridPolynomialToPoles::UKnots ( ) const
const Handle_TColStd_HArray1OfInteger& Convert_GridPolynomialToPoles::UMultiplicities ( ) const
Standard_Integer Convert_GridPolynomialToPoles::VDegree ( ) const
const Handle_TColStd_HArray1OfReal& Convert_GridPolynomialToPoles::VKnots ( ) const
const Handle_TColStd_HArray1OfInteger& Convert_GridPolynomialToPoles::VMultiplicities ( ) const

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines