Data Structures

struct  A3DRiDirectionData
 Direction structure. More...
 

Functions

A3DStatus A3DRiDirectionCreate (const A3DRiDirectionData *pData, A3DRiDirection **ppDirection)
 Creates an A3DRiDirection from an A3DRiDirectionData structure. More...
 
A3DStatus A3DRiDirectionEdit (const A3DRiDirectionData *pData, A3DRiDirection *pDirection)
 Modifies an A3DRiDirection from an A3DRiDirectionData structure. More...
 
A3DStatus A3DRiDirectionGet (const A3DRiDirection *pDirection, A3DRiDirectionData *pData)
 Populates the A3DRiDirectionData structure. More...
 

Detailed Description

Version
2.0

An A3DRiDirection is defined by a point (optional) and a vector (mandatory).

Function Documentation

◆ A3DRiDirectionGet()

A3DStatus A3DRiDirectionGet ( const A3DRiDirection pDirection,
A3DRiDirectionData pData 
)

Populates the A3DRiDirectionData structure.

Version
2.0
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

◆ A3DRiDirectionCreate()

A3DStatus A3DRiDirectionCreate ( const A3DRiDirectionData pData,
A3DRiDirection **  ppDirection 
)

Creates an A3DRiDirection from an A3DRiDirectionData structure.

Version
2.0
Returns
A3D_SUCCESS in case of success or an error code
Return values
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_DATA_STRUCT_NULL
A3D_SUCCESS

◆ A3DRiDirectionEdit()

A3DStatus A3DRiDirectionEdit ( const A3DRiDirectionData pData,
A3DRiDirection pDirection 
)

Modifies an A3DRiDirection from an A3DRiDirectionData structure.

Version
10.0
Returns
A3D_SUCCESS in case of success or an error code
Return values
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_DATA_STRUCT_NULL
A3D_INVALID_ENTITY_NULL
A3D_SUCCESS