mydxflwpolyline.hpp
Go to the documentation of this file.
virtual void debug_print(std::ostream &os) const
Print debugging information to stream os.
Definition: mydxflwpolyline.cpp:245
virtual void rotate_z(class MyDXFFile *dxf, double a)
Rotate entity around origin.
Definition: mydxflwpolyline.cpp:185
virtual void write(class MyDXFFile *dxf, std::ofstream &ostr)
Write dxf file to stream.
Definition: mydxflwpolyline.cpp:110
virtual EntityType get_type(void) const
Get entity type.
Definition: mydxflwpolyline.hpp:95
virtual void explode(class MyDXFEntities *ent, MyDXFFile *dxf, const Transformation *t) const
Explode into entities.
Definition: mydxflwpolyline.cpp:97
Vec3D vertex(uint32_t i) const
Get vertix i.
Definition: mydxflwpolyline.hpp:136
virtual ~MyDXFLWPolyline()
Virtual destructor.
Definition: mydxflwpolyline.hpp:75
bool closed(void) const
Is entity closed path?
Definition: mydxflwpolyline.hpp:140
virtual void set_start(const Vec3D &s)
Set start point of path entity.
Definition: mydxflwpolyline.cpp:254
virtual void translate(class MyDXFFile *dxf, const Vec3D &dx)
Translate entity by dx.
Definition: mydxflwpolyline.cpp:178
MyDXFLWPolyline(class MyDXFFile *dxf)
Construct line entity by reading from DXF file.
Definition: mydxflwpolyline.cpp:48
virtual Vec3D start(void) const
Get start point of path entity.
Definition: mydxflwpolyline.hpp:99
bool geom_same(const MyDXFLWPolyline &line, double eps=1.0e-6) const
Check if two entities are geometrically same.
Definition: mydxflwpolyline.cpp:266
virtual Vec3D end(void) const
Get end point of path entity.
Definition: mydxflwpolyline.hpp:103
virtual int ray_cross(double x, double y) const
Check for ray crossing.
Definition: mydxflwpolyline.cpp:193
uint32_t size() const
Get number of vertices in entity.
Definition: mydxflwpolyline.hpp:132
virtual MyDXFLWPolyline * copy(void) const
Get a new copy of entity.
Definition: mydxflwpolyline.hpp:79
virtual void set_end(const Vec3D &e)
Set end point of path entity.
Definition: mydxflwpolyline.cpp:260
virtual void plot(const class MyDXFFile *dxf, cairo_t *cairo, const Transformation *t, const double range[4]) const
Plot entity with cairo.
Definition: mydxflwpolyline.cpp:127
virtual void scale(class MyDXFFile *dxf, double s)
Scale entity by factor s.
Definition: mydxflwpolyline.cpp:171
virtual void get_bbox(Vec3D &min, Vec3D &max, const class MyDXFFile *dxf, const Transformation *t) const
Return bounding box of entity.
Definition: mydxflwpolyline.cpp:148
Transformation for homogenous three dimensional space.
Definition: transformation.hpp:70
DXF Entities.