All Frameworks Class Hierarchy This Framework Previous Next Indexes
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---VisualizationBase.CATGraphicPrimitive
|
+---CAT3DLineGP
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 float[] | iPoints, | |
| const int | iNbPoints | =2, | |
| const int | iAlloc | =ALLOCATE, | |
| const int | iLineType | = LINES) |
| public virtual void Draw( | CATRender& | iRender) |
| public inline void Get( | float** | oPoints, |
| int* | oNbPoints, | |
| int* | oLineType) const |
float * points;
int nbPoints, lineType;
Get(&points, &nbPoints, &lineType);
Copyright © 2003, Dassault Systèmes. All rights reserved.