OCC Main Page | DataExchange | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

DataExchange
TKIGES
IGESGeom


IGESGeom_SplineSurface Class Reference

defines IGESSplineSurface, Type <114> Form <0>
in package IGESGeom
A parametric spline surface is a grid of polynomial
patches. Patch could be of the type Linear, Quadratic,
Cubic, Wilson-Fowler, Modified Wilson-Fowler, B-Spline
The M * N grid of patches is defined by the 'u' break
points TU(1), TU(2), ..., TU(M+1) and the 'v' break
points TV(1), TV(2), TV(3) ..., TV(N+1).

#include <IGESGeom_SplineSurface.hxx>

Inheritance diagram for IGESGeom_SplineSurface:

Inheritance graph
[legend]

Public Member Functions

Standard_EXPORT IGESGeom_SplineSurface ()
Standard_EXPORT void Init (const Standard_Integer aBoundaryType, const Standard_Integer aPatchType, const Handle(TColStd_HArray1OfReal)&allUBreakpoints, const Handle(TColStd_HArray1OfReal)&allVBreakpoints, const Handle(IGESBasic_HArray2OfHArray1OfReal)&allXCoeffs, const Handle(IGESBasic_HArray2OfHArray1OfReal)&allYCoeffs, const Handle(IGESBasic_HArray2OfHArray1OfReal)&allZCoeffs)
 This method is used to set the fields of the class
SplineSurface
- aBoundaryType : Type of Spline boundary
1 = Linear
2 = Quadratic
3 = Cubic
4 = Wilson-Fowler
5 = Modified Wilson-Fowler
6 = B-spline
- aPatchType : Type of patch contained in the grid
1 = Cartesian Product
0 = Unspecified
- allUBreakpoints : u values of grid lines
- allVBreakpoints : v values of grid lines
- allXCoeffs : X coefficients of M x N patches
- allYCoeffs : Y coefficients of M x N patches
- allZCoeffs : Z coefficients of M x N patches
raises exception if allXCoeffs, allYCoeffs & allZCoeffs are not
of the same size.
or if the size of each element of the double array is not 16
.
Standard_EXPORT Standard_Integer NbUSegments () const
 returns the number of U segments

Standard_EXPORT Standard_Integer NbVSegments () const
 returns the number of V segments

Standard_EXPORT Standard_Integer BoundaryType () const
 returns boundary type

Standard_EXPORT Standard_Integer PatchType () const
 returns patch type

Standard_EXPORT Standard_Real UBreakPoint (const Standard_Integer anIndex) const
 returns U break point of the grid line referred to by anIndex
raises exception if anIndex <= 0 or anIndex > NbUSegments() + 1

Standard_EXPORT Standard_Real VBreakPoint (const Standard_Integer anIndex) const
 returns V break point of the grid line referred to by anIndex
raises exception if anIndex <= 0 or anIndex > NbVSegments() + 1

Standard_EXPORT Handle_TColStd_HArray1OfReal XPolynomial (const Standard_Integer anIndex1, const Standard_Integer anIndex2) const
 returns X polynomial of patch referred to by anIndex1, anIndex2
raises exception if anIndex1 <= 0 or anIndex1 > NbUSegments()
or anIndex2 <= 0 or anIndex2 > NbVSegments()

Standard_EXPORT Handle_TColStd_HArray1OfReal YPolynomial (const Standard_Integer anIndex1, const Standard_Integer anIndex2) const
 returns Y polynomial of patch referred to by anIndex1, anIndex2
raises exception if anIndex1 <= 0 or anIndex1 > NbUSegments()
or anIndex2 <= 0 or anIndex2 > NbVSegments()

Standard_EXPORT Handle_TColStd_HArray1OfReal ZPolynomial (const Standard_Integer anIndex1, const Standard_Integer anIndex2) const
 returns Z polynomial of patch referred to by anIndex1, anIndex2
raises exception if anIndex1 <= 0 or anIndex1 > NbUSegments()
or anIndex2 <= 0 or anIndex2 > NbVSegments()

Standard_EXPORT void Polynomials (Handle(IGESBasic_HArray2OfHArray1OfReal)&XCoef, Handle(IGESBasic_HArray2OfHArray1OfReal)&YCoef, Handle(IGESBasic_HArray2OfHArray1OfReal)&ZCoef) const
 returns in one all the polynomial values "in bulk"
usefull for massive treatements

Standard_EXPORT const Handle (Standard_Type)&DynamicType() const

Private Attributes

Standard_Integer theBoundaryType
Standard_Integer thePatchType
Handle_TColStd_HArray1OfReal theUBreakPoints
Handle_TColStd_HArray1OfReal theVBreakPoints
Handle_IGESBasic_HArray2OfHArray1OfReal theXCoeffs
Handle_IGESBasic_HArray2OfHArray1OfReal theYCoeffs
Handle_IGESBasic_HArray2OfHArray1OfReal theZCoeffs

Constructor & Destructor Documentation

Standard_EXPORT IGESGeom_SplineSurface::IGESGeom_SplineSurface  ) 
 


Member Function Documentation

Standard_EXPORT Standard_Integer IGESGeom_SplineSurface::BoundaryType  )  const
 

Standard_EXPORT const IGESGeom_SplineSurface::Handle Standard_Type   )  const
 

Reimplemented from IGESData_IGESEntity.

Standard_EXPORT void IGESGeom_SplineSurface::Init const Standard_Integer  aBoundaryType,
const Standard_Integer  aPatchType,
const Handle(TColStd_HArray1OfReal)&  allUBreakpoints,
const Handle(TColStd_HArray1OfReal)&  allVBreakpoints,
const Handle(IGESBasic_HArray2OfHArray1OfReal)&  allXCoeffs,
const Handle(IGESBasic_HArray2OfHArray1OfReal)&  allYCoeffs,
const Handle(IGESBasic_HArray2OfHArray1OfReal)&  allZCoeffs
 

Standard_EXPORT Standard_Integer IGESGeom_SplineSurface::NbUSegments  )  const
 

Standard_EXPORT Standard_Integer IGESGeom_SplineSurface::NbVSegments  )  const
 

Standard_EXPORT Standard_Integer IGESGeom_SplineSurface::PatchType  )  const
 

Standard_EXPORT void IGESGeom_SplineSurface::Polynomials Handle(IGESBasic_HArray2OfHArray1OfReal)&  XCoef,
Handle(IGESBasic_HArray2OfHArray1OfReal)&  YCoef,
Handle(IGESBasic_HArray2OfHArray1OfReal)&  ZCoef
const
 

Standard_EXPORT Standard_Real IGESGeom_SplineSurface::UBreakPoint const Standard_Integer  anIndex  )  const
 

Standard_EXPORT Standard_Real IGESGeom_SplineSurface::VBreakPoint const Standard_Integer  anIndex  )  const
 

Standard_EXPORT Handle_TColStd_HArray1OfReal IGESGeom_SplineSurface::XPolynomial const Standard_Integer  anIndex1,
const Standard_Integer  anIndex2
const
 

Standard_EXPORT Handle_TColStd_HArray1OfReal IGESGeom_SplineSurface::YPolynomial const Standard_Integer  anIndex1,
const Standard_Integer  anIndex2
const
 

Standard_EXPORT Handle_TColStd_HArray1OfReal IGESGeom_SplineSurface::ZPolynomial const Standard_Integer  anIndex1,
const Standard_Integer  anIndex2
const
 


Field Documentation

Standard_Integer IGESGeom_SplineSurface::theBoundaryType [private]
 

Standard_Integer IGESGeom_SplineSurface::thePatchType [private]
 

Handle_TColStd_HArray1OfReal IGESGeom_SplineSurface::theUBreakPoints [private]
 

Handle_TColStd_HArray1OfReal IGESGeom_SplineSurface::theVBreakPoints [private]
 

Handle_IGESBasic_HArray2OfHArray1OfReal IGESGeom_SplineSurface::theXCoeffs [private]
 

Handle_IGESBasic_HArray2OfHArray1OfReal IGESGeom_SplineSurface::theYCoeffs [private]
 

Handle_IGESBasic_HArray2OfHArray1OfReal IGESGeom_SplineSurface::theZCoeffs [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 14:40:53 2008 for OpenCASCADE by  doxygen 1.4.1