Entities
entities/ shape
#include "dxfio/entities/shape.hpp"In DxfIO::Entities
struct ShapeSHAPE
A SHAPE: a symbol from a compiled shape file, which the drawing loads through a text style.
| Field | Type and default | Meaning |
|---|---|---|
Record | Entities::Record | The layer, linetype, color and the rest every entity carries. |
Thickness | double | How far the entity is extruded along its normal. Group 39. |
Position | Vector | The insertion point, in the entity's own coordinate system. Groups 10, 20, 30. |
Size | double | The size, in drawing units. Group 40. |
Name | Symbol{""} | The name of the shape in its file. Group 2. |
Rotation | double | The rotation, in degrees. Group 50. |
Width | double{1} | The relative width, 1 for the shape's own. Group 41. |
Oblique | double | The slant, in degrees from the vertical. Group 51. |
Extrusion | Vector{Up} | The normal of the plane the entity is drawn in. Groups 210, 220, 230. |