A3DGraphHatchingPatternData

Fields

A3DUns32

m_uiSize

A3DGraphHatchingPatternLineData *

m_psHatchLines

A3DUns32

m_uiNextPatternIndex

Detailed Description

struct A3DGraphHatchingPatternData

Hatching lines fill pattern descriptor.

A hatching pattern is a composition of at least one line described with A3DGraphHatchingPatternLineData.

Version

2.0

A3DGraphHatchingPatternData is one of the four fill pattern provided by HOOPS. It is associated to the kA3DTypeGraphHatchingPattern entity type. The other available fill patterns are A3DGraphDottingPatternData, A3DGraphSolidPatternData and A3DGraphVPicturePatternData.

Pattern description

This descriptor is a stacking of line descriptions, represented by an array of A3DGraphHatchingPatternLineData instances. Where each element is drawn over its preceding one.

Pattern layers

Implementations can express complex patterns by chaining them in order, using the m_uiNextPatternIndex field.

Public Members

A3DUns32 m_uiSize

The number of hatch lines the pattern is made of.

A3DGraphHatchingPatternLineData *m_psHatchLines

An array of lines, allocated to sizeof(A3DGraphHatchingPatternLineData) * m_psHatchLines.

A3DUns32 m_uiNextPatternIndex

Global index for the next pattern.