A3DGraphHatchingPatternLineData
Fields
| A3DVector2dData | m_sStart |
| A3DVector2dData | m_sOffset |
A3DDouble |
m_dAngle |
A3DUns32 |
m_uiStyleIndex |
Detailed Description
-
struct
A3DGraphHatchingPatternLineData Line descriptor for the
A3DGraphHatchingPatternDatastructure.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.- Version
- 2.0
The fill pattern graphics style is described with an instance of
A3DGraphStyleDatawhich can be retrieved by callingA3DGlobalGetGraphStyleDatawithm_uiStyleIndex.- Pattern description
- A single reference line is first described using a starting point and a direction:
m_sStartis any point within the line. It is expressed in 2D space coordinates.m_dAngleis the line orientation, expressed in radians. Then, the line is repeated in both directions, where all line starting points are spaces bym_sOffset.
See also
See also
See also
See also
See also
See also
See also
Note
This structure is exclusively used as a composition of
A3DGraphHatchingPatternDataeven 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_dAngleandm_sOffsetgenerating infinitely overlapping lines. It is up to your application to make such validation if needed.Public Members
-
A3DVector2dData
m_sStart A point within the reference line. Expressed in 2D space coordinates.
-
A3DVector2dData
m_sOffset The distance between each successive line starting points. Expressed in 2D space coordinates.
-
A3DDouble
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
m_uiStyleIndex Global index for the drawing style (
A3DGraphStyleData) of the pattern.