libDXF 0.0.1
A library with DXF related functions written in C.
|
DXF definition of an AutoCAD tolerance entity (TOLERANCE
).
More...
#include <tolerance.h>
Data Fields | |
int | id_code |
char * | linetype |
char * | layer |
double | elevation |
double | thickness |
double | linetype_scale |
int16_t | visibility |
int | color |
int | paperspace |
char * | dictionary_owner_soft |
char * | dictionary_owner_hard |
char * | dimstyle_name |
double | x0 |
double | y0 |
double | z0 |
double | x1 |
double | y1 |
double | z1 |
double | extr_x0 |
double | extr_y0 |
double | extr_z0 |
struct DxfTolerance * | next |
DXF definition of an AutoCAD tolerance entity (TOLERANCE
).
Definition at line 56 of file tolerance.h.
Identification number for the entity.
This is to be an unique (sequential) number in the DXF file.
Group code = 5.
Definition at line 61 of file tolerance.h.
Referenced by dxf_tolerance_init(), dxf_tolerance_read(), and dxf_tolerance_write().
char* dxf_tolerance::linetype |
The linetype of the entity.
Defaults to BYLAYER
if ommitted in the DXF file.
Group code = 6.
Definition at line 66 of file tolerance.h.
Referenced by dxf_tolerance_free(), dxf_tolerance_init(), dxf_tolerance_read(), and dxf_tolerance_write().
char* dxf_tolerance::layer |
Layer on which the entity is drawn.
Defaults to layer "0" if no valid layername is given.
Group code = 8.
Definition at line 70 of file tolerance.h.
Referenced by dxf_tolerance_free(), dxf_tolerance_init(), dxf_tolerance_read(), and dxf_tolerance_write().
double dxf_tolerance::elevation |
Elevation of the arc in the local Z-direction.
Defaults to 0.0 if omitted in the DXF file, or prior to DXF version R12, or DXF_FLATLAND equals 0 (default).
Group code = 38.
Definition at line 74 of file tolerance.h.
Referenced by dxf_tolerance_init(), dxf_tolerance_read(), and dxf_tolerance_write().
double dxf_tolerance::thickness |
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 79 of file tolerance.h.
Referenced by dxf_tolerance_init(), dxf_tolerance_read(), and dxf_tolerance_write().
Linetype scale (optional).
Group code = 48.
Definition at line 83 of file tolerance.h.
Referenced by dxf_tolerance_init(), dxf_tolerance_read(), and dxf_tolerance_write().
int16_t dxf_tolerance::visibility |
Object visibility (optional):
Group code = 60.
Definition at line 86 of file tolerance.h.
Referenced by dxf_tolerance_init(), dxf_tolerance_read(), and dxf_tolerance_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 93 of file tolerance.h.
Referenced by dxf_tolerance_init(), dxf_tolerance_read(), and dxf_tolerance_write().
Entities are to be drawn on either PAPERSPACE
or MODELSPACE
.
Optional, defaults to DXF_MODELSPACE
(0).
Group code = 67.
Definition at line 100 of file tolerance.h.
Referenced by dxf_tolerance_init(), dxf_tolerance_read(), and dxf_tolerance_write().
Soft-pointer ID/handle to owner dictionary (optional).
Group code = 330.
Definition at line 105 of file tolerance.h.
Referenced by dxf_tolerance_free(), dxf_tolerance_init(), dxf_tolerance_read(), and dxf_tolerance_write().
Hard owner ID/handle to owner dictionary (optional).
Group code = 360.
Definition at line 108 of file tolerance.h.
Referenced by dxf_tolerance_free(), dxf_tolerance_init(), dxf_tolerance_read(), and dxf_tolerance_write().
Dimension style name.
Group code = 3.
Definition at line 112 of file tolerance.h.
Referenced by dxf_tolerance_free(), dxf_tolerance_init(), dxf_tolerance_read(), and dxf_tolerance_write().
double dxf_tolerance::x0 |
X-value of the insertion point coordinate.
Group code = 10.
Definition at line 115 of file tolerance.h.
Referenced by dxf_tolerance_init(), dxf_tolerance_read(), and dxf_tolerance_write().
double dxf_tolerance::y0 |
Y-value of the insertion point coordinate.
Group code = 20.
Definition at line 118 of file tolerance.h.
Referenced by dxf_tolerance_init(), dxf_tolerance_read(), and dxf_tolerance_write().
double dxf_tolerance::z0 |
Z-value of the insertion point coordinate.
Group code = 30.
Definition at line 121 of file tolerance.h.
Referenced by dxf_tolerance_init(), dxf_tolerance_read(), and dxf_tolerance_write().
double dxf_tolerance::x1 |
X-value of the direction vector.
Group code = 11.
Definition at line 124 of file tolerance.h.
Referenced by dxf_tolerance_init(), dxf_tolerance_read(), and dxf_tolerance_write().
double dxf_tolerance::y1 |
Y-value of the direction vector.
Group code = 21.
Definition at line 127 of file tolerance.h.
Referenced by dxf_tolerance_init(), dxf_tolerance_read(), and dxf_tolerance_write().
double dxf_tolerance::z1 |
Z-value of the direction vector.
Group code = 31.
Definition at line 130 of file tolerance.h.
Referenced by dxf_tolerance_init(), dxf_tolerance_read(), and dxf_tolerance_write().
double dxf_tolerance::extr_x0 |
X-value of the extrusion vector.
Defaults to 0.0 if omitted in the DXF file.
Group code = 210.
Definition at line 133 of file tolerance.h.
Referenced by dxf_tolerance_init(), dxf_tolerance_read(), and dxf_tolerance_write().
double dxf_tolerance::extr_y0 |
Y-value of the extrusion vector.
Defaults to 0.0 if omitted in the DXF file.
Group code = 220.
Definition at line 137 of file tolerance.h.
Referenced by dxf_tolerance_init(), dxf_tolerance_read(), and dxf_tolerance_write().
double dxf_tolerance::extr_z0 |
Z-value of the extrusion vector.
Defaults to 1.0 if omitted in the DXF file.
Group code = 230.
Definition at line 141 of file tolerance.h.
Referenced by dxf_tolerance_init(), dxf_tolerance_read(), and dxf_tolerance_write().
struct DxfTolerance* dxf_tolerance::next |
Pointer to the next DxfTolerance.
NULL
in the last DxfTolerance.
Definition at line 144 of file tolerance.h.
Referenced by dxf_tolerance_free(), dxf_tolerance_free_chain(), and dxf_tolerance_init().