V5ToV4Geo Interface CATIV4DataSaver

Usage: you can freely reimplement this interface.


interface CATIV4DataSaver

Class to translate Spline and Spline2 Curves.


Method Index


o GetData(int&,double*&)
Retrieves the V4 data.
o GetSplineConstraintData(int&,int&,double*&)
Retrieves the spline constraint additional data.
o GetUserIntent(int&)
Retrieves the user intent.

Methods


o GetData
public virtual GetData( oV4Type,
oV4Block)
Retrieves the V4 data.
Parameters:
oV4Type
[out] The CATGeo V4 type of the object to create
oV4Block
[out,delete] The CATGeo V4 description block
This table is allocated by using new[].
Returns:
  • S_OK: The query succeeds
  • NO_INTERFACE: The interface does not exist
  • E_OUTOFMEMORY: Memory allocation fails
  • E_UNEXPECTED: The query fails for another reason
o GetSplineConstraintData
public virtual GetSplineConstraintData( oV4SplineType,
oV4BlockLength,
oV4BlockData)
Retrieves the spline constraint additional data.
Parameters:
oV4SplineType
[out]
legal values
  • 0 it is not a spline curve
  • 1 it is a spline curve
  • 2 it is a spline2 curve
oV4BlockLength
[out] The V4 number of doubles of the additional description to create
oV4BlockData
[out,delete] The V4 additional description block
This table is allocated by using new[].
Returns:
  • S_OK: The query succeeds
  • NO_INTERFACE: The interface does not exist
  • E_OUTOFMEMORY: Memory allocation fails
  • E_UNEXPECTED: The query fails for another reason
o GetUserIntent
public virtual GetUserIntent( oIntent)
Retrieves the user intent.
Parameters:
oIntent
[out]
legal values
  • 0 do not compute the V4 data
  • 1 do the standard process
  • 2 let the customer do
Returns:
  • S_OK: The query succeeds
  • NO_INTERFACE: The interface does not exist

This object is included in the file: CATIV4DataSaver.h
If needed, your Imakefile.mk should include the module: V5ToV4GeomTranslator

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.