Drawing Curve

Types

A3DDrawingCurveData

Functions

A3DStatus

A3DDrawingCurveGet

A3DStatus

A3DDrawingCurveCreate

Detailed Description

group a3d_drawing_curve

An A3DDrawingCurve is a drawing item that contains a geometrical curve.

Version

5.0

Entity type is kA3DTypeDrawingCurve.

See also

a3d_basewithgraphics

Function Documentation

A3DStatus A3DDrawingCurveGet(const A3DDrawingCurve *pDrawingCrv, A3DDrawingCurveData *pData)

Populates the A3DDrawingCurveData structure.

Version

5.0

Parameters:
  • pDrawingCrv[in] The drawing curve entity.

  • pData[out] Data of the drawing curve.

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 A3DDrawingCurveCreate(const A3DDrawingCurveData *pData, A3DDrawingCurve **ppDrawingCrv)

Creates an A3DDrawingCurve from A3DDrawingCurveData structure.

Version

5.0

Parameters:
  • pData[in] The input drawing curve data

  • ppDrawingCrv[out] The drawing curve entity

Return values:
  • A3D_INVALID_DATA_STRUCT_SIZE

  • A3D_INVALID_DATA_STRUCT_NULL

  • A3D_INTERVAL_INCONSISTENT_DATA

  • A3D_SUCCESS

Returns:

A3D_SUCCESS on success, or an error code on failure