36#include <dime/Basic.h>
37#include <dime/entities/ExtrusionEntity.h>
38#include <dime/util/Linear.h>
45 const dimeVec3f &getCoords(
const int idx)
const;
46 void setCoords(
const int idx,
const dimeVec3f &v);
49 virtual bool getRecord(
const int groupcode,
51 const int index = 0)
const;
53 virtual void print()
const;
55 virtual int typeId()
const;
59 dimeArray <int> &indices,
61 dxfdouble &thickness);
74dimeLine::getCoords(
const int idx)
const
76 assert(idx ==0 || idx == 1);
77 return this->coords[idx];
81dimeLine::setCoords(
const int idx,
const dimeVec3f &v)
83 assert(idx ==0 || idx == 1);
84 this->coords[idx] = v;
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 dimeLine class handles a LINE entity.
Definition Line.h:41
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