Entities
entities/ mesh
#include "dxfio/entities/mesh.hpp"In DxfIO::Entities
struct Net
The AcDbSubDMesh subclass of a MESH: its vertices, faces, edges and creases.
| Field | Type and default | Meaning |
|---|---|---|
Version | int{2} | The version of the mesh's layout. Group 71. |
Blend | int | Whether creases are blended. Group 72. |
Level | int | The level of subdivision smoothing. Group 91. |
Vertices | std::vector<Vector> | The vertices; group 92 counts them. Groups 10, 20, 30. |
Faces | std::vector<int> | The faces, each its vertex count and then the index of each vertex; group 93 counts the numbers. Group 90. |
Edges | std::vector<int> | The edges, as pairs of vertex indices; group 94 counts the pairs. Group 90. A MESH whose count of indices is odd is not written, and one read so is kept as it came. |
Creases | std::vector<double> | The crease of each edge; group 95 counts them. Group 140. |
Overridden | int | The number of parts of the mesh whose properties are overridden. Group 90. |
Overrides | std::vector<Group> | The overrides that follow, kept as the groups they came in. |
struct MeshMESH
A MESH: a subdivision surface of faces, edges and creases.
| Field | Type | Meaning |
|---|---|---|
Record | Entities::Record | The layer, linetype, color and the rest every entity carries. |
Picture | std::string | The proxy graphics, for programs that cannot draw the entity. Group 92, or 160 from R2010, then 310. |
Net | Boxed<Entities::Net> | The vertices, faces, edges and creases, from the AcDbSubDMesh subclass. |