# FoundationClasses
TKMath
Convert

# Convert_GridPolynomialToPoles Class Reference

`#include <Convert_GridPolynomialToPoles.hxx>`

## Public Member Functions

void * | operator new (size_t, void *anAddress)
void * | operator new (size_t size)
void | operator delete (void *anAddress)
Standard_EXPORT | 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] .

Standard_EXPORT

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
.

Standard_EXPORT 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_EXPORT Standard_Integer | NbUPoles () const
Standard_EXPORT Standard_Integer | NbVPoles () const
Standard_EXPORT const Handle_TColgp_HArray2OfPnt & | Poles () const
| returns the poles of the BSpline Surface
Standard_EXPORT Standard_Integer | UDegree () const
Standard_EXPORT Standard_Integer | VDegree () const
Standard_EXPORT Standard_Integer | NbUKnots () const
Standard_EXPORT Standard_Integer | NbVKnots () const
Standard_EXPORT const Handle_TColStd_HArray1OfReal & | UKnots () const
| Knots in the U direction .
Standard_EXPORT const Handle_TColStd_HArray1OfReal & | VKnots () const
| Knots in the V direction .
Standard_EXPORT const Handle_TColStd_HArray1OfInteger & | UMultiplicities () const
| Multiplicities of the knots in the U direction .
Standard_EXPORT const Handle_TColStd_HArray1OfInteger & | VMultiplicities () const
| Multiplicities of the knots in the V direction .
Standard_EXPORT Standard_Boolean | IsDone () const

## Private Member Functions

Standard_EXPORT void | BuildArray (const Standard_Integer Degree, const Handle(TColStd_HArray1OfReal)&Knots, const Standard_Integer Continuty, Handle(TColStd_HArray1OfReal)&FlatKnots, Handle(TColStd_HArray1OfInteger)&Mults, Handle(TColStd_HArray1OfReal)&Parameters) const

## Private Attributes

Handle_TColStd_HArray1OfReal | myUFlatKnots
Handle_TColStd_HArray1OfReal | myVFlatKnots
Handle_TColStd_HArray1OfReal | myUKnots
Handle_TColStd_HArray1OfReal | myVKnots
Handle_TColStd_HArray1OfInteger | myUMults
Handle_TColStd_HArray1OfInteger | myVMults
Handle_TColgp_HArray2OfPnt | myPoles
Standard_Integer | myUDegree
Standard_Integer | myVDegree
Standard_Boolean | myDone

## Constructor & Destructor Documentation

Standard_EXPORT 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
| ) |

Standard_EXPORT 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_EXPORT void Convert_GridPolynomialToPoles::BuildArray | ( | const Standard_Integer | Degree,
|  | const Handle(TColStd_HArray1OfReal)& | Knots,
|  | const Standard_Integer | Continuty,
|  | Handle(TColStd_HArray1OfReal)& | FlatKnots,
|  | Handle(TColStd_HArray1OfInteger)& | Mults,
|  | Handle(TColStd_HArray1OfReal)& | Parameters
| ) | const`[private]`

Standard_EXPORT Standard_Boolean Convert_GridPolynomialToPoles::IsDone | ( |  | ) | const

Standard_EXPORT Standard_Integer Convert_GridPolynomialToPoles::NbUKnots | ( |  | ) | const

Standard_EXPORT Standard_Integer Convert_GridPolynomialToPoles::NbUPoles | ( |  | ) | const

Standard_EXPORT Standard_Integer Convert_GridPolynomialToPoles::NbVKnots | ( |  | ) | const

Standard_EXPORT Standard_Integer Convert_GridPolynomialToPoles::NbVPoles | ( |  | ) | const

void Convert_GridPolynomialToPoles::operator delete | ( | void * | anAddress | ) | `[inline]`

void* Convert_GridPolynomialToPoles::operator new | ( | size_t | size | ) | `[inline]`

void* Convert_GridPolynomialToPoles::operator new | ( | size_t | ,
|  | void * | anAddress
| ) | `[inline]`

Standard_EXPORT 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
| ) |

Standard_EXPORT const Handle_TColgp_HArray2OfPnt& Convert_GridPolynomialToPoles::Poles | ( |  | ) | const

Standard_EXPORT Standard_Integer Convert_GridPolynomialToPoles::UDegree | ( |  | ) | const

Standard_EXPORT const Handle_TColStd_HArray1OfReal& Convert_GridPolynomialToPoles::UKnots | ( |  | ) | const

Standard_EXPORT const Handle_TColStd_HArray1OfInteger& Convert_GridPolynomialToPoles::UMultiplicities | ( |  | ) | const

Standard_EXPORT Standard_Integer Convert_GridPolynomialToPoles::VDegree | ( |  | ) | const

Standard_EXPORT const Handle_TColStd_HArray1OfReal& Convert_GridPolynomialToPoles::VKnots | ( |  | ) | const

Standard_EXPORT const Handle_TColStd_HArray1OfInteger& Convert_GridPolynomialToPoles::VMultiplicities | ( |  | ) | const

## Field Documentation

Standard_Boolean Convert_GridPolynomialToPoles::myDone `[private]`

Handle_TColgp_HArray2OfPnt Convert_GridPolynomialToPoles::myPoles `[private]`

Standard_Integer Convert_GridPolynomialToPoles::myUDegree `[private]`

Handle_TColStd_HArray1OfReal Convert_GridPolynomialToPoles::myUFlatKnots `[private]`

Handle_TColStd_HArray1OfReal Convert_GridPolynomialToPoles::myUKnots `[private]`

Handle_TColStd_HArray1OfInteger Convert_GridPolynomialToPoles::myUMults `[private]`

Standard_Integer Convert_GridPolynomialToPoles::myVDegree `[private]`

Handle_TColStd_HArray1OfReal Convert_GridPolynomialToPoles::myVFlatKnots `[private]`

Handle_TColStd_HArray1OfReal Convert_GridPolynomialToPoles::myVKnots `[private]`

Handle_TColStd_HArray1OfInteger Convert_GridPolynomialToPoles::myVMults `[private]`

The documentation for this class was generated from the following file:

- Convert_GridPolynomialToPoles.hxx