Entities

entities/polyline

#include "dxfio/entities/polyline.hpp"

In DxfIO::Entities

struct PolylinePOLYLINE

A POLYLINE: a 2D or 3D polyline, a polygon mesh or a polyface mesh, its vertices following it in the file.

FieldType and defaultMeaning
RecordEntities::RecordThe layer, linetype, color and the rest every entity carries.
Followsbool{true}Whether VERTEX entities follow it in the file. Group 66.
PositionVectorA point whose Z is the polyline's elevation; its X and Y are 0. Groups 10, 20, 30.
ThicknessdoubleHow far the entity is extruded along its normal. Group 39.
Flagsint1 closed, 2 curve-fit, 4 spline-fit, 8 3D polyline, 16 polygon mesh, 32 mesh closed along N, 64 polyface mesh, 128 linetype drawn continuously around the vertices. Group 70.
StartdoubleThe width segments start with when their vertex gives none. Group 40.
EnddoubleThe width segments end with when their vertex gives none. Group 41.
RowsintThe vertex count along M of a polygon mesh, or the vertex count of a polyface mesh. Group 71.
ColumnsintThe vertex count along N of a polygon mesh, or the face count of a polyface mesh. Group 72.
DensityintThe density along M of a smoothed polygon mesh. Group 73.
DepthintThe density along N of a smoothed polygon mesh. Group 74.
CurveintHow the surface is smoothed: 0 not at all, 5 quadratic B-spline, 6 cubic B-spline, 8 Bezier. Group 75.
ExtrusionVector{Up}The normal of the plane the entity is drawn in. Groups 210, 220, 230.
VerticesSequence<Vertex>The vertices that follow it in the file, closed by a SEQEND.