Data Structures

struct  A3DDrawingFilledAreaData
 DrawingFilledArea structure. More...
 

Enumerations

enum  A3DEDrawingFilledAreaMode {
  kA3DDrawingFiledAreaModeOR = 0,
  kA3DDrawingFiledAreaModeAND = 1,
  kA3DDrawingFiledAreaModeXOR = 2
}
 Enumerations for drawing filled area mode for use in the A3DDrawingFilledAreaData structure. More...
 

Functions

A3DStatus A3DDrawingFilledAreaCreate (const A3DDrawingFilledAreaData *pData, A3DDrawingFilledArea **ppDrwFilledArea)
 Creates an A3DDrawingFilledArea from A3DDrawingFilledAreaData structure. More...
 
A3DStatus A3DDrawingFilledAreaGet (const A3DDrawingFilledArea *pDrwFilledArea, A3DDrawingFilledAreaData *pData)
 Populates the A3DDrawingFilledAreaData structure. More...
 

Detailed Description

Version
5.0

Entity type is kA3DTypeDrawingFilledArea.

Enumeration Type Documentation

◆ A3DEDrawingFilledAreaMode

Enumerations for drawing filled area mode for use in the A3DDrawingFilledAreaData structure.

Version
5.0

In case of intersecting, or self-intersecting boundaries, A3DEDrawingFilledAreaMode is used to determine the fill area.

For example, in case of two intersecting square boundaries, three different fill areas can be obtained like in the next picture.

drawing_fillmode.png
Enumerator
kA3DDrawingFiledAreaModeOR 

Use OR operator.

kA3DDrawingFiledAreaModeAND 

Use AND operator.

kA3DDrawingFiledAreaModeXOR 

Use XOR operator.

Function Documentation

◆ A3DDrawingFilledAreaGet()

A3DStatus A3DDrawingFilledAreaGet ( const A3DDrawingFilledArea pDrwFilledArea,
A3DDrawingFilledAreaData pData 
)

Populates the A3DDrawingFilledAreaData structure.

Version
5.0
Parameters
[in]pDrwFilledAreaThe drawing filled area entity.
[out]pDataData of the drawing filled area.
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

◆ A3DDrawingFilledAreaCreate()

A3DStatus A3DDrawingFilledAreaCreate ( const A3DDrawingFilledAreaData pData,
A3DDrawingFilledArea **  ppDrwFilledArea 
)

Creates an A3DDrawingFilledArea from A3DDrawingFilledAreaData structure.

Version
5.0
Parameters
[in]pDataThe input drawing filled area data
[out]ppDrwFilledAreaThe drawing filled area entity
Returns
A3D_SUCCESS in case of success or an error code
Return values
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_DATA_STRUCT_NULL
A3D_INTERVAL_INCONSISTENT_DATA
A3D_SUCCESS