33#ifndef DIME_LWPOLYLINE_H
34#define DIME_LWPOLYLINE_H
36#include <dime/entities/ExtrusionEntity.h>
45 virtual bool getRecord(
const int groupcode,
47 const int index)
const;
50 virtual void print()
const;
52 virtual int typeId()
const;
56 dimeArray <int> &indices,
58 dxfdouble &thickness);
59 int getNumVertices()
const;
60 const dxfdouble *getXCoords()
const;
61 const dxfdouble *getYCoords()
const;
62 const dxfdouble *getStartingWidths()
const;
63 const dxfdouble *getEndWidths()
const;
64 const dxfdouble *getBulges()
const;
66 dxfdouble getElevation()
const;
67 dxfdouble getConstantWidth()
const;
68 int16 getFlags()
const;
76 dxfdouble constantWidth;
84 dxfdouble *startingWidth;
92dimeLWPolyline::getNumVertices()
const
94 return this->numVertices;
97inline const dxfdouble *
98dimeLWPolyline::getXCoords()
const
102inline const dxfdouble *
103dimeLWPolyline::getYCoords()
const
108inline const dxfdouble *
109dimeLWPolyline::getStartingWidths()
const
111 return this->startingWidth;
115inline const dxfdouble *
116dimeLWPolyline::getEndWidths()
const
118 return this->endWidth;
121inline const dxfdouble *
122dimeLWPolyline::getBulges()
const
128dimeLWPolyline::getElevation()
const
130 return this->elevation;
134dimeLWPolyline::getConstantWidth()
const
136 return this->constantWidth;
140dimeLWPolyline::getFlags()
const
The dimeEntity class is the superclass of all entity classes.
Definition Entity.h:61
virtual bool write(dimeOutput *const out)
Definition Entity.cpp:271
virtual const char * getEntityName() const =0
virtual GeometryType extractGeometry(dimeArray< dimeVec3f > &verts, dimeArray< int > &indices, dimeVec3f &extrusionDir, dxfdouble &thickness)
Definition Entity.cpp:583
virtual dimeEntity * copy(dimeModel *const model) const =0
The dimeExtrusionEntity class is the superclass of all entity classes with extrusion data.
Definition ExtrusionEntity.h:39
virtual bool handleRecord(const int groupcode, const dimeParam ¶m, dimeMemHandler *const memhandler)
Definition ExtrusionEntity.cpp:135
virtual int typeId() const
Definition ExtrusionEntity.cpp:96
virtual int countRecords() const
Definition ExtrusionEntity.cpp:113
virtual bool getRecord(const int groupcode, dimeParam ¶m, const int index=0) const
Definition ExtrusionEntity.cpp:155
The dimeLWPolyline class handles an LWPOLYLINE entity.
Definition LWPolyline.h:39
The dimeMemHandler class is a special-purpose memory manager.
Definition MemHandler.h:39
The dimeModel class organizes a model.
Definition Model.h:55
The dimeOutput class handles writing of DXF and DXB files.
Definition Output.h:42
The dimeVec3f class is for containing and operating on a 3D vector / coordinate.
Definition Linear.h:62
The dimeParam class is a union of the different parameter types.
Definition Basic.h:102