#include <MyPoint.h>
Collaboration diagram for MyLine:

Public Types | |
| enum | ELineType { LINE_ALWAYS, LINE_ONLY_WHOLE, LINE_ONLY_LONE } |
Public Member Functions | |
| MyLine (MyPoint *_p1, MyPoint *_p2, float clR, float clG, float clB, ELineType _type) | |
| MyLine () | |
| empty ctor, needed for it to be possible to create arrays of MyLine | |
Public Attributes | |
| Coord3df | color |
| MyPoint * | p1 |
| MyPoint * | p2 |
| enum MyLine::ELineType | type |
lines are used in the 3D solution display engine to mark the edges of pieces in a clear manner. MyLine objects are not part of MyObject instances. they are drawn seperatly using LinesCollection.
| enum MyLine::ELineType |
| MyLine::MyLine | ( | MyPoint * | _p1, | |
| MyPoint * | _p2, | |||
| float | clR, | |||
| float | clG, | |||
| float | clB, | |||
| ELineType | _type | |||
| ) | [inline] |
| MyLine::MyLine | ( | ) | [inline] |
empty ctor, needed for it to be possible to create arrays of MyLine