Functions and structures for defining combinations of transformations (without the use of a matrix) More...

Modules

 Cartesian Transformation Types
 Bitmasks that can be OR'd together to specify the transformation behavior.
 

Data Structures

struct  A3DMiscCartesianTransformationData
 Structure for defining an A3DMiscCartesianTransformation entity. More...
 

Functions

A3DStatus A3DMiscCartesianTransformationCreate (const A3DMiscCartesianTransformationData *pData, A3DMiscCartesianTransformation **ppCartesianTransformation3d)
 Creates an A3DMiscCartesianTransformation from an A3DMiscCartesianTransformationData structure. More...
 
A3DStatus A3DMiscCartesianTransformationGet (const A3DMiscCartesianTransformation *pCartesianTransformation3d, A3DMiscCartesianTransformationData *pData)
 Populates the A3DMiscCartesianTransformationData structure. More...
 

Detailed Description

Functions and structures for defining combinations of transformations (without the use of a matrix)

Entity type is kA3DTypeMiscCartesianTransformation.

This entity describes combinations of transformations such as relocation to a new 3D Cartesian coordinate system, scaling, and rotation. The A3DMiscCartesianTransformationData structure provides parameters for the transformation. The behaviour mask specified by the A3DMiscCartesianTransformationData::m_ucBehaviour member specifies the transformations that apply. Those transformations must be consistent with the actual data provided in other fields as described here:

Sample code
if (iErr==A3D_SUCCESS)
{
/* Insert here your own code to parse through members of CartesianTransformation3d */
iErr = A3DMiscCartesianTransformationGet( NULL, &sData );
}
Version
2.3
Warning
Some particular formats do not support Cartesian transformations directly, but define general ones instead. When possible, the associated readers try to make cartesian tranformations out of them, setting this Behaviour flag. In all cases, except for Mirror, direct use of transformation members is valid, where behavior is just informational.

Function Documentation

◆ A3DMiscCartesianTransformationGet()

A3DStatus A3DMiscCartesianTransformationGet ( const A3DMiscCartesianTransformation pCartesianTransformation3d,
A3DMiscCartesianTransformationData pData 
)

Populates the A3DMiscCartesianTransformationData structure.

Returns
A3D_SUCCESS in case of success or an error code
Return values
A3D_INITIALIZE_NOT_CALLED
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_DATA_STRUCT_NULL
A3D_INVALID_ENTITY_NULL
A3D_INVALID_ENTITY_TYPE
A3D_SUCCESS

◆ A3DMiscCartesianTransformationCreate()

A3DStatus A3DMiscCartesianTransformationCreate ( const A3DMiscCartesianTransformationData pData,
A3DMiscCartesianTransformation **  ppCartesianTransformation3d 
)

Creates an A3DMiscCartesianTransformation from an A3DMiscCartesianTransformationData structure.

Returns
A3D_SUCCESS in case of success or an error code
Return values
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_DATA_STRUCT_NULL
A3D_POINTSET_BADSIZE
A3D_TRANSFORMATION3D_INCONSISTENT
A3D_SUCCESS