libopencad
|
Geometry class which represents LWPolyline. More...
#include <cadgeometry.h>
Public Member Functions | |
virtual void | print () const override |
double | getConstWidth () const |
void | setConstWidth (double value) |
double | getElevation () const |
void | setElevation (double value) |
CADVector | getVectExtrusion () const |
void | setVectExtrusion (const CADVector &value) |
vector< pair< double, double > > | getWidths () const |
void | setWidths (const vector< pair< double, double > > &value) |
Public Member Functions inherited from CADPolyline3D | |
void | addVertex (const CADVector &vertex) |
size_t | getVertexCount () const |
CADVector & | getVertex (size_t index) |
Public Member Functions inherited from CADGeometry | |
enum GeometryType | getType () const |
double | getThickness () const |
void | setThickness (double thicknes) |
RGBColor | getColor () const |
void | setColor (int ACIColorIndex) |
void | addAttribute (CADAttdef *) |
void | addAttribute (CADAttrib *) |
map< string, CADAttdef > | getAttributes () |
Protected Attributes | |
double | constWidth |
double | elevation |
CADVector | vectExtrusion |
vector< pair< double, double > > | widths |
Protected Attributes inherited from CADPolyline3D | |
vector< CADVector > | vertexes |
Protected Attributes inherited from CADGeometry | |
enum GeometryType | geometryType |
double | thickness |
RGBColor | geometry_color |
map< string, CADAttdef > | mapstAttributes |
Additional Inherited Members | |
Public Types inherited from CADGeometry | |
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. | |
Geometry class which represents LWPolyline.