All Frameworks Class Hierarchy This Framework Indexes
V5ToV4Geo Interface CATIV4DataSaver
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---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 HRESULT GetData( | int& | oV4Type, |
| double*& | oV4Block) = 0 |
-
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
- Returns:
- NO_INTERFACE The interface does not exist
- Returns:
- E_OUTOFMEMORY Memory allocation fails
- Returns:
- E_UNEXPECTED The query fails for another reason
o GetSplineConstraintData
public virtual HRESULT GetSplineConstraintData( | int& | oV4SplineType, |
| int& | oV4BlockLength, |
| double*& | oV4BlockData) = 0 |
-
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
- Returns:
- NO_INTERFACE The interface does not exist
- Returns:
- E_OUTOFMEMORY Memory allocation fails
- Returns:
- E_UNEXPECTED The query fails for another reason
o GetUserIntent
public virtual HRESULT GetUserIntent( | int& | oIntent) = 0 |
-
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
- Returns:
- 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: V5ToV4Tools