All Frameworks  Class Hierarchy  This Framework  Indexes

CATIAV4Interfaces Global Function CATV4iGetElbowTubeData


int CATV4iGetElbowTubeData( const CATV4iV4Element* iV4Element,
double& oDiameter,
double& oBendRadius,
double& oAngle,
double[3] oExtremity1,
double[3] oExtremity2,
double[3] oCenter,
double[3] oUdir,
double[3] oVdir)
Reads the geometry of a tube elbow
Parameters:
iV4Element
[in] The V4 element
oDiameter
[out] The diameter of the elbow
oBendRadius
[out] The bend radius of the elbow
oAngle
[out] The angle of the elbow
oExtremity1
[out] The coordinates of one end of the elbow
oExtremity2
[out] The coordinates of the other end of the elbow
oCenter
[out] The coordinates of the center of the elbow
oUdir
[out] The direction normal to oExtremity1
oVdir
[out] The direction normal to oExtremity2
Returns:
Return code
Legal values:
  • 0 : the function was OK
  • -1 : the function was KO

This object is included in the file: CATV4iTubingServices.h

Copyright © 2003, Dassault Systèmes. All rights reserved.