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.
| Field | Type | Meaning |
|---|---|---|
Record | Entities::Record | The layer, linetype, color and the rest every entity carries. |
Position | Vector | The location: in the polyline's own coordinate system for a 2D polyline, in world coordinates otherwise. Groups 10, 20, 30. |
Start | std::optional<double> | The width the segment from this vertex starts with, when it has its own. Group 40. |
End | std::optional<double> | The width the segment from this vertex ends with, when it has its own. Group 41. |
Bulge | double | The bulge of the segment to the next vertex: the tangent of a quarter of its arc's angle, 0 when straight. Group 42. |
Id | int | The vertex identifier. Group 91, written from R2010 as AutoCAD writes it, or in the release the drawing came from; read from R13. |
Flags | int | 1 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. |
Tangent | double | The direction of the curve-fit tangent. Group 50. |
First | int | The first vertex of a polyface mesh face, counted from 1; negative when the edge from it is invisible. Group 71. |
Second | int | The second vertex of a polyface mesh face, counted the same way. Group 72. |
Third | int | The third vertex of a polyface mesh face, counted the same way. Group 73. |
Fourth | int | The fourth vertex of a polyface mesh face, counted the same way; 0 for a triangle. Group 74. |