Entities

entities/helix

#include "dxfio/entities/helix.hpp"

In DxfIO::Entities

struct Coil

The AcDbHelix subclass of a HELIX: the axis, radius and turns the coil follows.

FieldType and defaultMeaning
MajorintThe major version of the helix's layout. Group 90.
MinorintThe minor version of the helix's layout. Group 91.
BaseVectorThe base point of the axis, in world coordinates. Groups 10, 20, 30.
StartVectorThe point the helix starts at, in world coordinates. Groups 11, 21, 31.
AxisVector{Up}The direction of the axis. Groups 12, 22, 32.
Radiusdouble{1}The radius, in drawing units. Group 40.
Turnsdouble{1}The number of turns. Group 41.
Risedouble{1}The height of one turn. Group 42.
Rightbool{true}Whether the helix turns right-handed. Group 290.
ConstraintintWhat is kept when the helix is edited: 0 the height of a turn, 1 the turns, 2 the height. Group 280.

struct HelixHELIX

A HELIX: a spiral in 3D, kept both as a spline and as its axis and turns.

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.
CurveBoxed<Entities::Curve>The spline that draws the helix, from the AcDbSpline subclass.
CoilEntities::CoilThe axis, radius and turns, from the AcDbHelix subclass.