MyLine Class Reference

MyLine is a single line drawned using a specific color between two MyPoint instance. More...

#include <MyPoint.h>

Collaboration diagram for MyLine:

Collaboration graph
[legend]
List of all members.

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
MyPointp1
MyPointp2
enum MyLine::ELineType type

Detailed Description

MyLine is a single line drawned using a specific color between two MyPoint instance.

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.

See also:
MyPoint


Member Enumeration Documentation

Enumerator:
LINE_ALWAYS 
LINE_ONLY_WHOLE 
LINE_ONLY_LONE 


Constructor & Destructor Documentation

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


Member Data Documentation


The documentation for this class was generated from the following file: