Plane Surface

Types

A3DSurfPlaneData

Functions

A3DStatus

A3DSurfPlaneGet

A3DStatus

A3DSurfPlaneCreate

Detailed Description

group a3d_srfplane

Entity type is kA3DTypeSurfPlane.

Canonical definition corresponds to coordinate system defined by A3DMiscCartesianTransformationData.

A3DUVParameterizationData allows for reparameterization and trim.

Function Documentation

A3DStatus A3DSurfPlaneGet(const A3DSurfPlane *pSrf, A3DSurfPlaneData *pData)

Populates the A3DSurfPlaneData structure from any type of A3DSurfPlane.

Version

2.0

Return values
  • A3D_INVALID_DATA_STRUCT_SIZE

  • A3D_INVALID_DATA_STRUCT_NULL

  • A3D_INTERVAL_INCONSISTENT_DATA

  • A3D_SUCCESS

Returns

A3D_SUCCESS in case of success or an error code

A3DStatus A3DSurfPlaneCreate(const A3DSurfPlaneData *pData, A3DSurfPlane **ppSrf)

Creates the A3DSurfPlane from A3DSurfPlaneData structure.

Version

2.0

Return values
  • A3D_INVALID_DATA_STRUCT_SIZE

  • A3D_INVALID_DATA_STRUCT_NULL

  • A3D_SUCCESS

  • A3D_SRF_PLANE_CANNOT_CREATE_CANONICAL

Returns

A3D_SUCCESS in case of success or an error code