DataExchangeBaseRepsItf Interface CATIExchangeBSplinePCurve
Usage: you can freely reimplement this interface.
 interface CATIExchangeBSplinePCurve
 Interface to exchange BSpline PCurves.
 Role: This interface is dedicated to get BSpline PCurves information.
 
  -  See also: 
  
 -  , 
 
 Method Index
 
 -  o 
    GetBSplinePCurveData(CATLONG32,CATLONG32,CATLONG32,double*,double*,double*)
 -   Retrieves the poles, knots and weights that fully define a non-uniform, rational BSpline curve.
 
 -  o 
    GetBSplinePCurveInfo(CATLONG32*,CATLONG32*,CATLONG32*,short*,short*,short*)
 -   Retrieves overall information related to the BSpline PCurve.
 
 Methods
 
  o GetBSplinePCurveData
  |   public virtual   GetBSplinePCurveData( |   | iPoles, | 
 |   | iKnots, | 
 |   | iWeights, | 
 |   | oPoles, | 
 |   | oKnots, | 
 |   | oWeights)   | 
  - 
 Retrieves the poles, knots and weights that fully define a non-uniform, rational BSpline curve.
 
  -  Parameters:
  
 - 
    
    -  iPoles
   
 - 				Set the number of poles expected to be returned in the oPoles argument.
				The function is expecting iPoles*2*sizeof(double) bytes of memory allocated by the caller in oPoles.
 
 
    -  iKnots
   
 - 				Set the number of knots expected to be returned in the pKnots argument.
				The function is expecting iKnots*sizeof(double) bytes of memory allocated by the caller in oKnots.
 
 
    -  iWeights
   
 - 				Inputs 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 curve. The memory is pre-allocated by the caller.
 
 
    -  oKnots
   
 - 				Get the knots making up the curve. The memory is pre-allocated by the caller.
 
 
    -  oWeights
   
 - 				Get the weights per pole when the curve is rational. The memory is pre-allocated by the caller.
 
 
 
  o GetBSplinePCurveInfo
  |   public virtual   GetBSplinePCurveInfo( |   | oOrder, | 
 |   | oNumPoles, | 
 |   | oNumKnots, | 
 |   | oIsRational, | 
 |   | oIsClosed, | 
 |   | oIsPeriodic)   | 
  - 
 Retrieves overall information related to the BSpline PCurve.
 
  -  Parameters:
  
 - 
    
    -  oOrder
   
 - 				Get the order of the BSpline.
 
 
    -  oNumPoles
   
 - 				Get the number of poles.
 
 
    -  oNumKnots
   
 - 				Get the number of knots.
 
 
    -  oIsRational
   
 - 				Get TRUE if the curve is rational ( a weight is assigned to every pole ), FALSE otherwise.
 
 
    -  oIsClosed
   
 - 				Get TRUE if the curve is closed, FALSE otherwise.
 
 
    -  oIsPeriodic
   
 - 				Get TRUE if the curve is periodic, FALSE otherwise.
 
 
 
 This object is included in the file: CATIExchangeBSplinePCurve.h
If needed, your Imakefile.mk should include the module: DataExchangeBaseRepsItf
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.