libopencad
Public Types | Public Member Functions | Protected Attributes | List of all members
CADGeometry Class Referenceabstract

Base CAD geometry class. More...

#include <cadgeometry.h>

Inheritance diagram for CADGeometry:
CADFace3D CADHatch CADImage CADLine CADPoint3D CADPolyline3D CADPolylinePFace CADSpline

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, CADAttdefgetAttributes ()
 

Protected Attributes

enum GeometryType geometryType
 
double thickness
 
RGBColor geometry_color
 
map< string, CADAttdefmapstAttributes
 

Detailed Description

Base CAD geometry class.


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