libDXF 0.0.1
A library with DXF related functions written in C.
Data Fields

dxf_helix_struct Struct Reference

Definition of an AutoCAD helix entity (HELIX). More...

#include <helix.h>

Collaboration diagram for dxf_helix_struct:
Collaboration graph
[legend]

Data Fields

int id_code
char * linetype
char * layer
double thickness
double linetype_scale
int16_t visibility
int color
int paperspace
int graphics_data_size
int16_t shadow_mode
DxfBinaryGraphicsDatabinary_graphics_data
char * dictionary_owner_soft
char * material
char * dictionary_owner_hard
int16_t lineweight
char * plot_style_name
long color_value
char * color_name
long transparency
DxfPointp0
DxfPointp1
DxfPointp2
double radius
double number_of_turns
double turn_height
long major_release_number
long maintainance_release_number
int constraint_type
int handedness
DxfSplinespline
struct DxfHelixnext

Detailed Description

Definition of an AutoCAD helix entity (HELIX).

Definition at line 54 of file helix.h.


Field Documentation

Identification number for the entity.
This is to be an unique (sequential) number in the DXF file.
Group code = 5.

Definition at line 59 of file helix.h.

Referenced by dxf_helix_get_id_code(), dxf_helix_init(), dxf_helix_read(), dxf_helix_set_id_code(), dxf_helix_write(), and dxf_idbuffer_set_id_code().

The linetype of the entity.
Defaults to BYLAYER if ommitted in the DXF file.
Group code = 6.

Definition at line 64 of file helix.h.

Referenced by dxf_helix_get_linetype(), dxf_helix_init(), dxf_helix_read(), dxf_helix_set_linetype(), and dxf_helix_write().

Layer on which the entity is drawn.
Defaults to layer "0" if no valid layername is given.
Group code = 8.

Definition at line 68 of file helix.h.

Referenced by dxf_helix_get_layer(), dxf_helix_init(), dxf_helix_read(), dxf_helix_set_layer(), and dxf_helix_write().

Thickness of the arc in the local Z-direction.
Defaults to 0.0 if ommitted in the DXF file.
Group code = 39.

Definition at line 72 of file helix.h.

Referenced by dxf_helix_get_thickness(), dxf_helix_init(), dxf_helix_read(), dxf_helix_set_thickness(), and dxf_helix_write().

Linetype scale (optional).
Group code = 48.

Definition at line 76 of file helix.h.

Referenced by dxf_helix_get_linetype_scale(), dxf_helix_init(), dxf_helix_read(), dxf_helix_set_linetype_scale(), and dxf_helix_write().

Object visibility (optional):

  1. Visible
  2. Invisible

Group code = 60.

Definition at line 79 of file helix.h.

Referenced by dxf_helix_get_visibility(), dxf_helix_init(), dxf_helix_read(), dxf_helix_set_visibility(), and dxf_helix_write().

Color of the entity.
Defaults to BYLAYER if ommitted in the DXF file.
Note that entities encapsulated in a block with the color BYBLOCK are represented in the "native" color of the BLOCK entity.
Group code = 62.

Definition at line 86 of file helix.h.

Referenced by dxf_helix_get_color(), dxf_helix_init(), dxf_helix_read(), dxf_helix_set_color(), and dxf_helix_write().

Entities are to be drawn on either PAPERSPACE or MODELSPACE.
Optional, defaults to DXF_MODELSPACE (0).
Group code = 67.

Definition at line 93 of file helix.h.

Referenced by dxf_helix_get_paperspace(), dxf_helix_init(), dxf_helix_read(), dxf_helix_set_paperspace(), and dxf_helix_write().

Number of bytes in the proxy entity graphics represented in the sub-sequent 310 groups, which are binary chunk records (optional).
Group code = 92.

Warning:
On some 64 bit workstations output is generated with group code "160", thus omitting group code "92".

Definition at line 98 of file helix.h.

Referenced by dxf_helix_get_graphics_data_size(), dxf_helix_init(), dxf_helix_read(), dxf_helix_set_graphics_data_size(), and dxf_helix_write().

Shadow mode:

  1. Casts and receives shadows.
  2. Casts shadows.
  3. Receives shadows.
  4. Ignores shadows.


Group code = 284.

Definition at line 108 of file helix.h.

Referenced by dxf_helix_get_shadow_mode(), dxf_helix_init(), dxf_helix_read(), dxf_helix_set_shadow_mode(), and dxf_helix_write().

Proxy entity graphics data.
Multiple lines of 256 characters maximum per line (optional).
Group code = 310.

Definition at line 117 of file helix.h.

Referenced by dxf_helix_get_binary_graphics_data(), dxf_helix_init(), dxf_helix_read(), dxf_helix_set_binary_graphics_data(), and dxf_helix_write().

Soft-pointer ID/handle to owner dictionary (optional).
Group code = 330.

Definition at line 122 of file helix.h.

Referenced by dxf_helix_get_dictionary_owner_soft(), dxf_helix_init(), dxf_helix_read(), dxf_helix_set_dictionary_owner_soft(), and dxf_helix_write().

Hard-pointer ID/handle to material object (present if not BYLAYER).
Group code = 347.

Definition at line 125 of file helix.h.

Referenced by dxf_helix_get_material(), dxf_helix_init(), dxf_helix_read(), dxf_helix_set_material(), and dxf_helix_write().

Hard owner ID/handle to owner dictionary (optional).
Group code = 360.

Definition at line 129 of file helix.h.

Referenced by dxf_helix_get_dictionary_owner_hard(), dxf_helix_init(), dxf_helix_read(), and dxf_helix_set_dictionary_owner_hard().

Lineweight enum value.
Stored and moved around as a 16-bit integer.
Group code = 370.

Definition at line 132 of file helix.h.

Referenced by dxf_helix_get_lineweight(), dxf_helix_init(), dxf_helix_read(), dxf_helix_set_lineweight(), and dxf_helix_write().

Hard pointer ID / handle of PlotStyleName object.
Group code = 390.

Definition at line 136 of file helix.h.

Referenced by dxf_helix_get_plot_style_name(), dxf_helix_init(), dxf_helix_read(), dxf_helix_set_plot_style_name(), and dxf_helix_write().

A 24-bit color value that should be dealt with in terms of bytes with values of 0 to 255.
The lowest byte is the blue value, the middle byte is the green value, and the third byte is the red value.
The top byte is always 0.
The group code cannot be used by custom entities for their own data because the group code is reserved for AcDbEntity, class-level color data and AcDbEntity, class-level transparency data.
Group code = 420.

Definition at line 139 of file helix.h.

Referenced by dxf_helix_get_color_value(), dxf_helix_init(), dxf_helix_read(), dxf_helix_set_color_value(), and dxf_helix_write().

Color name.
The group code cannot be used by custom entities for their own data because the group code is reserved for AcDbEntity, class-level color data and AcDbEntity, class-level transparency data.
Group code = 430.

Definition at line 150 of file helix.h.

Referenced by dxf_helix_get_color_name(), dxf_helix_init(), dxf_helix_read(), dxf_helix_set_color_name(), and dxf_helix_write().

Transparency value.
The group code cannot be used by custom entities for their own data because the group code is reserved for AcDbEntity, class-level color data and AcDbEntity, class-level transparency data.
Group code = 440.

Definition at line 157 of file helix.h.

Referenced by dxf_helix_get_transparency(), dxf_helix_init(), dxf_helix_read(), dxf_helix_set_transparency(), and dxf_helix_write().

Radius of the arc.
Group code = 40.

Definition at line 174 of file helix.h.

Referenced by dxf_helix_get_radius(), dxf_helix_init(), dxf_helix_read(), dxf_helix_set_radius(), and dxf_helix_write().

Number of turns.
Group code = 41.

Definition at line 177 of file helix.h.

Referenced by dxf_helix_get_number_of_turns(), dxf_helix_init(), dxf_helix_read(), dxf_helix_set_number_of_turns(), and dxf_helix_write().

Turn height.
Group code = 42.

Definition at line 180 of file helix.h.

Referenced by dxf_helix_get_turn_height(), dxf_helix_init(), dxf_helix_read(), dxf_helix_set_turn_height(), and dxf_helix_write().

Major release number.
Group code = 90.

Definition at line 183 of file helix.h.

Referenced by dxf_helix_get_major_release_number(), dxf_helix_init(), dxf_helix_read(), dxf_helix_set_major_release_number(), and dxf_helix_write().

Maintainance release number.
Group code = 91.

Definition at line 186 of file helix.h.

Referenced by dxf_helix_get_maintainance_release_number(), dxf_helix_init(), dxf_helix_read(), dxf_helix_set_maintainance_release_number(), and dxf_helix_write().

Constrain type:

  1. Constrain turn height.
  2. Constrain turns.
  3. Constrain height.

Group code = 280.

Definition at line 189 of file helix.h.

Referenced by dxf_helix_get_constraint_type(), dxf_helix_init(), dxf_helix_read(), dxf_helix_set_constraint_type(), and dxf_helix_write().

Handedness:

  1. Left.
  2. Right

Group code = 290.

Definition at line 197 of file helix.h.

Referenced by dxf_helix_get_handedness(), dxf_helix_init(), dxf_helix_read(), dxf_helix_set_handedness(), and dxf_helix_write().

Todo:
We need to use a struct DxfSpline *spline; in stead of a DxfSpline *spline;

Pointer to the DxfSpline.

Definition at line 208 of file helix.h.

Referenced by dxf_helix_get_spline(), dxf_helix_init(), dxf_helix_read(), dxf_helix_set_spline(), and dxf_helix_write().

Pointer to the next DxfHelix.
NULL in the last DxfHelix.

Definition at line 209 of file helix.h.

Referenced by dxf_helix_free(), dxf_helix_free_chain(), dxf_helix_get_last(), dxf_helix_get_next(), dxf_helix_init(), and dxf_helix_set_next().


The documentation for this struct was generated from the following file: