All Frameworks Class Hierarchy This Framework Indexes
Usage: you must use this class as is. You should never derive it.
public class CAT3DLineGP
Class to create the graphic primitive of one or several 3D lines.
Role:
The first line is drawn between the first two points. Then, the next lines are
drawn with the next points according to the line style.
Example a CAT3DLineGP defined with 4 points :
LINES style: point 1 X--------------------X point 2
point 3 X-----------------------X point 4
LINE_STRIP style: point 1 X--------------------X point 2
/
/
/
point 3 X----------------------X point 4
LINE_LOOP style: point 1 X--------X point 2
\ /
\ /
\ /
\/
/\
/ \
point 3 X----X point 4
| public CAT3DLineGP( | ) |
| public CAT3DLineGP( | const | iPoints, | |
| const | iNbPoints | =2, | |
| const | iAlloc | =ALLOCATE, | |
| const | iLineType | = LINES) |
| public virtual Draw( | iRender) |
| public Get( | oPoints, | |
| oNbPoints, | ||
| oLineType) |
float * points;
int nbPoints, lineType;
Get(&points, &nbPoints, &lineType);
Copyright © 2003, Dassault Systèmes. All rights reserved.