DataExchangeBaseRepsItf Interface CATIExchangeBSplineSurface
Usage: you can freely reimplement this interface.
interface CATIExchangeBSplineSurface
Interface to exchange BSpline surfaces.
Role: This interface is dedicated to get BSpline surfaces information.
Available from CATIA V5R10.
- See also:
- ,
Method Index
- o
GetBSplineData(CATLONG32,CATLONG32,CATLONG32,CATLONG32,double*,double*,double*,double*,CATBaseUnknown_var)
- Retrieves BSpline surface datas.
- o
GetBSplineInfo(CATLONG32[2],CATLONG32[2],CATLONG32[2],short*,short[2],short[2],short*,CATBaseUnknown_var)
- Retrieves overall information related to the BSpline surface.
Methods
o GetBSplineData
public virtual GetBSplineData( | | iPoles, |
| | iKnotsU, |
| | iKnotsV, |
| | iWeights, |
| | oPoles, |
| | oKnotsU, |
| | oKnotsV, |
| | oWeights, |
| | ioRelimitedOnFace | = NULL_var ) |
-
Retrieves BSpline surface datas.
- Parameters:
-
- iPoles
- Set the number of poles expected to be returned in the oPoles argument.
The function is expecting iPoles*3*sizeof(double) bytes of memory allocated by the caller in oPoles.
- iKnotsU
- In the U direction, set the number of knots expected to be returned in the oKnotsU argument.
The function is expecting iKnotsU*sizeof(double) bytes of memory allocated by the caller in oKnotsU.
- iKnotsV
- In the V direction, set the number of knots expected to be returned in the oKnotsV argument.
The function is expecting iKnotsV*sizeof(double) bytes of memory allocated by the caller in oKnotsV.
- iWeights
- Set the number of weights expected to be returned in the oWeights argument.
The function is expecting iWeights*sizeof(double) bytes of memory allocated by the caller in oWeights.
- oPoles
- Get the poles making up the surface. The memory is pre-allocated by the caller.
- oKnotsU
- Get the knots making up the surface in the U direction. The memory is pre-allocated by the caller.
- oKnotsV
- Get the knots making up the surface in the V direction. The memory is pre-allocated by the caller.
- oWeights
- Get the weights per pole when the surface is rational. The memory is pre-allocated by the caller.
- ioRelimitedOnFace
- Never use this argument. Let it at its NULL_var default value.
o GetBSplineInfo
public virtual GetBSplineInfo( | | oOrder, |
| | oNumPoles, |
| | oNumKnots, |
| | oIsRational, |
| | oIsClosed, |
| | oIsPeriodic, |
| | oIsPlanar, |
| | ioRelimitedOnFace | = NULL_var ) |
-
Retrieves overall information related to the BSpline surface.
- Parameters:
-
- oOrder
- Get the order in the U and V directions, respectively.
- oNumPoles
- Get the number of poles in the U and V directions, respectively.
- oNumKnots
- Get the number of knots in the U and V directions, respectively.
- oIsRational
- Get TRUE if the surface is rational ( a weight is assigned to every pole ), FALSE otherwise.
- oIsClosed
- Get TRUE if the surface is closed in the U and V directions, respectively, FALSE otherwise.
- oIsPeriodic
- Get TRUE if the surface is periodic in the U and V directions, respectively, FALSE otherwise.
- oIsPlanar
- Get TRUE if the surface is planar, FALSE otherwise.
- ioRelimitedOnFace
- Never use this argument. Let it at its NULL_var default value.
This object is included in the file: CATIExchangeBSplineSurface.h
If needed, your Imakefile.mk should include the module: DataExchangeBaseRepsItf
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.