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.

FieldType and defaultMeaning
Versionint{2}The version of the mesh's layout. Group 71.
BlendintWhether creases are blended. Group 72.
LevelintThe level of subdivision smoothing. Group 91.
Verticesstd::vector<Vector>The vertices; group 92 counts them. Groups 10, 20, 30.
Facesstd::vector<int>The faces, each its vertex count and then the index of each vertex; group 93 counts the numbers. Group 90.
Edgesstd::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.
Creasesstd::vector<double>The crease of each edge; group 95 counts them. Group 140.
OverriddenintThe number of parts of the mesh whose properties are overridden. Group 90.
Overridesstd::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.

FieldTypeMeaning
RecordEntities::RecordThe layer, linetype, color and the rest every entity carries.
Picturestd::stringThe proxy graphics, for programs that cannot draw the entity. Group 92, or 160 from R2010, then 310.
NetBoxed<Entities::Net>The vertices, faces, edges and creases, from the AcDbSubDMesh subclass.