Entities

entities/vertex

#include "dxfio/entities/vertex.hpp"

In DxfIO::Entities

struct VertexVERTEX

A VERTEX: a point of a POLYLINE, or a face of a polyface mesh.

FieldTypeMeaning
RecordEntities::RecordThe layer, linetype, color and the rest every entity carries.
PositionVectorThe location: in the polyline's own coordinate system for a 2D polyline, in world coordinates otherwise. Groups 10, 20, 30.
Startstd::optional<double>The width the segment from this vertex starts with, when it has its own. Group 40.
Endstd::optional<double>The width the segment from this vertex ends with, when it has its own. Group 41.
BulgedoubleThe bulge of the segment to the next vertex: the tangent of a quarter of its arc's angle, 0 when straight. Group 42.
IdintThe vertex identifier. Group 91, written from R2010 as AutoCAD writes it, or in the release the drawing came from; read from R13.
Flagsint1 added by curve fitting, 2 has a curve-fit tangent, 8 added by spline fitting, 16 spline frame point, 32 of a 3D polyline, 64 of a polygon mesh, 128 of a polyface mesh. Group 70.
TangentdoubleThe direction of the curve-fit tangent. Group 50.
FirstintThe first vertex of a polyface mesh face, counted from 1; negative when the edge from it is invisible. Group 71.
SecondintThe second vertex of a polyface mesh face, counted the same way. Group 72.
ThirdintThe third vertex of a polyface mesh face, counted the same way. Group 73.
FourthintThe fourth vertex of a polyface mesh face, counted the same way; 0 for a triangle. Group 74.