General 3D Transformation (using 4x4 transformation matrices)

Types

A3DMiscGeneralTransformationData

Functions

A3DStatus

A3DMiscGeneralTransformationGet

A3DStatus

A3DMiscGeneralTransformationCreate

Detailed Description

group a3d_generaltransfo3d

Functions and structures for defining 4x4 transformation matrices that translate, scale, and rotate.

Entity type is kA3DTypeMiscGeneralTransformation.

An A3DMiscGeneralTransformation entity describes a 3D general transformation that translates, scales and rotates the associated geometric entity.

Function Documentation

A3DStatus A3DMiscGeneralTransformationGet(const A3DMiscGeneralTransformation *pGeneralTransformation3d, A3DMiscGeneralTransformationData *pData)

Populates the A3DMiscGeneralTransformationData structure.

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

Returns:

A3D_SUCCESS on success, or an error code on failure

A3DStatus A3DMiscGeneralTransformationCreate(const A3DMiscGeneralTransformationData *pData, A3DMiscGeneralTransformation **ppGeneralTransformation3d)

Creates an A3DMiscGeneralTransformation from an A3DMiscGeneralTransformationData structure.

Return values:
  • A3D_INVALID_DATA_STRUCT_SIZE

  • A3D_INVALID_DATA_STRUCT_NULL

  • A3D_SUCCESS

Returns:

A3D_SUCCESS on success, or an error code on failure