A3DGraphHatchingPatternLineData
-
struct
A3DGraphHatchingPatternLineData Line descriptor for the``A3DGraphHatchingPatternData``structure.
2.0A 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.
The fill pattern graphics style is described with an instance of``A3DGraphStyleData``which can be retrieved by calling``A3DGlobalGetGraphStyleData``with``m_uiStyleIndex``.
This structure is exclusively used as a composition of``A3DGraphHatchingPatternData``even if the hatching pattern is made of a single hatching line description.
HOOPS does not perform any check on whether the values of``m_dAngle``and``m_sOffset``generating infinitely overlapping lines. It is up to your application to make such validation if needed.
A3DGlobalGetGraphHatchingPatternData()
Variables
-
A3DVector2dData
A3DGraphHatchingPatternLineData.m_sStart -
A point within the reference line. Expressed in 2D space coordinates.
-
A3DVector2dData
A3DGraphHatchingPatternLineData.m_sOffset -
The distance between each successive line starting points. Expressed in 2D space coordinates.
-
A3DDouble
A3DGraphHatchingPatternLineData.m_dAngle -
The direction of the lines. This value is expressed in radians, where an angle value of*0*represents an X-aligned line.
-
A3DUns32
A3DGraphHatchingPatternLineData.m_uiStyleIndex -
Global index for the drawing style (
A3DGraphStyleData) of the pattern.