Entities

entities/mline

#include "dxfio/entities/mline.hpp"

In DxfIO::Entities

struct Strand

How one line of a multiline runs along a segment: where its pieces lie and where its fill lies.

FieldTypeMeaning
Spansstd::vector<double>The parameters of the line's pieces along the segment; group 74 counts them. Group 41.
Fillsstd::vector<double>The parameters of the line's area fill; group 75 counts them. Group 42.

struct Joint

A vertex of a multiline, with the segment that starts at it.

FieldTypeMeaning
PositionVectorThe vertex, in world coordinates. Groups 11, 21, 31.
DirectionVectorThe direction of the segment that starts at the vertex. Groups 12, 22, 32.
MiterVectorThe direction of the miter at the vertex. Groups 13, 23, 33.
Strandsstd::vector<Strand>How each line of the style runs along the segment, in the style's order.

struct Web

The AcDbMline subclass of an MLINE: its style, its justification and its vertices.

FieldType and defaultMeaning
StyleSymbolThe name of the multiline style. Group 2.
StyledHandleThe MLINESTYLE object. Group 340.
Scaledouble{1}The scale of the style's offsets. Group 40.
Justificationint0 top, 1 zero, 2 bottom. Group 70.
Flagsint1 has vertices, 2 closed, 4 start caps suppressed, 8 end caps suppressed. Group 71.
LinesintThe number of lines in the style. Group 73.
StartVectorThe start point, in world coordinates. Groups 10, 20, 30.
NormalVector{Up}The normal of the plane the entity is drawn in. Groups 210, 220, 230.
Jointsstd::vector<Joint>The vertices; group 72 counts them.

struct MLineMLINE

An MLINE: several parallel lines drawn together, as a multiline style sets them.

FieldTypeMeaning
RecordEntities::RecordThe layer, linetype, color and the rest every entity carries.
WebBoxed<Entities::Web>The style, justification and vertices, from the AcDbMline subclass.