Q3PolyLine_GetSegmentAttributeSet
You can use the Q3PolyLine_GetSegmentAttributeSet function to get the attribute set of a segment of a polyline.
TQ3Status Q3PolyLine_GetSegmentAttributeSet (
TQ3GeometryObject polyLine,
unsigned long index,
TQ3AttributeSet *attributeSet);
polyLine
- A polyline.
index
- An index into the
vertices array of the specified polyline.
attributeSet
- On exit, a pointer to an attribute set for the specified segment.
DESCRIPTION
The Q3PolyLine_GetSegmentAttributeSet function returns, in the attributeSet parameter, the set of attributes for a segment of a polyline. The segment is defined by the two vertices having indices index and index+1 in the vertices array of the polyline specified by the polyLine parameter. The reference count of the set is incremented.