A3DGraphHatchingPatternLineData Struct Reference
Line descriptor for the A3DGraphHatchingPatternData
structure.
More...
Detailed Description
Line descriptor for the A3DGraphHatchingPatternData
structure.
- Version
- 2.0
A hatching pattern is a composition of at least onen line descriptor. A line descriptor is represented by an instance of A3DGraphHatchingPatternLineData
. Each hatching line is infinitely repeated in both orthogonal directions.
- Pattern description
- A single reference line is first described using a starting point and a direction:
m_sStart
is any point within the line. It is expressed in 2D space coordinates.m_dAngle
is the line orientation, expressed in radians. Then, the line is repeated in both directions, where all line starting points are spaces bym_sOffset
.
The fill pattern graphics style is described with an instance of A3DGraphStyleData
which can be retrieved by calling A3DGlobalGetGraphStyleData
with m_uiStyleIndex
.
- Note
- This structure is exclusively used as a composition of
A3DGraphHatchingPatternData
even if the hatching pattern is made of a single hatching line description.
- Warning
- HOOPS does not perform any check on whether the values of
m_dAngle
andm_sOffset
generating infinitely overlapping lines. It is up to your application to make such validation if needed.