libopencad
Public Member Functions | Protected Attributes | List of all members
CADLWPolyline Class Reference

Geometry class which represents LWPolyline. More...

#include <cadgeometry.h>

Inheritance diagram for CADLWPolyline:
CADPolyline3D CADGeometry

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

Protected Attributes

double constWidth
 
double elevation
 
CADVector vectExtrusion
 
vector< pair< double, double > > widths
 
- Protected Attributes inherited from CADPolyline3D
vector< CADVectorvertexes
 
- Protected Attributes inherited from CADGeometry
enum GeometryType geometryType
 
double thickness
 
RGBColor geometry_color
 
map< string, CADAttdefmapstAttributes
 

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.
 

Detailed Description

Geometry class which represents LWPolyline.


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