libopencad
|
Base CAD geometry class. More...
#include <cadgeometry.h>
Public Types | |
enum | GeometryType { UNDEFINED = 0, POINT, CIRCLE, LWPOLYLINE, ELLIPSE, LINE, POLYLINE3D, TEXT, ARC, SPLINE, SOLID, RAY, HATCH, IMAGE, MTEXT, MLINE, XLINE, FACE3D, POLYLINE_PFACE, ATTRIB, ATTDEF } |
The CAD geometry types enum. | |
Public Member Functions | |
enum GeometryType | getType () const |
double | getThickness () const |
void | setThickness (double thicknes) |
RGBColor | getColor () const |
void | setColor (int ACIColorIndex) |
virtual void | print () const =0 |
void | addAttribute (CADAttdef *) |
void | addAttribute (CADAttrib *) |
map< string, CADAttdef > | getAttributes () |
Protected Attributes | |
enum GeometryType | geometryType |
double | thickness |
RGBColor | geometry_color |
map< string, CADAttdef > | mapstAttributes |
Base CAD geometry class.