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

dxf_trace Struct Reference

DXF definition of an AutoCAD trace entity. More...

#include <trace.h>

Collaboration diagram for dxf_trace:
Collaboration graph
[legend]

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
double x0
double y0
double z0
double x1
double y1
double z1
double x2
double y2
double z2
double x3
double y3
double z3
double extr_x0
double extr_y0
double extr_z0
struct DxfTracenext

Detailed Description

DXF definition of an AutoCAD trace entity.

Version:
According to DXF R10.
According to DXF R11.
According to DXF R12.
According to DXF R13.
According to DXF R14.

Definition at line 57 of file trace.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 62 of file trace.h.

Referenced by dxf_trace_init(), dxf_trace_read(), and dxf_trace_write().

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

Definition at line 67 of file trace.h.

Referenced by dxf_trace_free(), dxf_trace_init(), dxf_trace_read(), and dxf_trace_write().

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

Definition at line 71 of file trace.h.

Referenced by dxf_trace_free(), dxf_trace_init(), dxf_trace_read(), and dxf_trace_write().

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 75 of file trace.h.

Referenced by dxf_trace_init(), dxf_trace_read(), and dxf_trace_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 80 of file trace.h.

Referenced by dxf_trace_init(), dxf_trace_read(), and dxf_trace_write().

Linetype scale (optional).
Group code = 48.

Definition at line 84 of file trace.h.

Referenced by dxf_trace_init(), dxf_trace_read(), and dxf_trace_write().

Object visibility (optional):

  1. Visible
  2. Invisible

Group code = 60.

Definition at line 87 of file trace.h.

Referenced by dxf_trace_init(), dxf_trace_read(), and dxf_trace_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 94 of file trace.h.

Referenced by dxf_trace_init(), dxf_trace_read(), and dxf_trace_write().

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

Definition at line 101 of file trace.h.

Referenced by dxf_trace_init(), dxf_trace_read(), and dxf_trace_write().

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

Definition at line 106 of file trace.h.

Referenced by dxf_trace_free(), dxf_trace_init(), dxf_trace_read(), and dxf_trace_write().

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

Definition at line 109 of file trace.h.

Referenced by dxf_trace_free(), dxf_trace_init(), dxf_trace_read(), and dxf_trace_write().

double dxf_trace::x0

group code = 10
base point.

Definition at line 113 of file trace.h.

Referenced by dxf_trace_init(), dxf_trace_read(), and dxf_trace_write().

double dxf_trace::y0

group code = 20
base point.

Definition at line 116 of file trace.h.

Referenced by dxf_trace_init(), dxf_trace_read(), and dxf_trace_write().

double dxf_trace::z0

group code = 30
base point.

Definition at line 119 of file trace.h.

Referenced by dxf_trace_init(), dxf_trace_read(), and dxf_trace_write().

double dxf_trace::x1

group code = 11
alignment point.

Definition at line 122 of file trace.h.

Referenced by dxf_trace_init(), dxf_trace_read(), and dxf_trace_write().

double dxf_trace::y1

group code = 21
alignment point.

Definition at line 125 of file trace.h.

Referenced by dxf_trace_init(), dxf_trace_read(), and dxf_trace_write().

double dxf_trace::z1

group code = 31
alignment point.

Definition at line 128 of file trace.h.

Referenced by dxf_trace_init(), dxf_trace_read(), and dxf_trace_write().

double dxf_trace::x2

group code = 12
alignment point.

Definition at line 131 of file trace.h.

Referenced by dxf_trace_init(), dxf_trace_read(), and dxf_trace_write().

double dxf_trace::y2

group code = 22
alignment point.

Definition at line 134 of file trace.h.

Referenced by dxf_trace_init(), dxf_trace_read(), and dxf_trace_write().

double dxf_trace::z2

group code = 32
alignment point.

Definition at line 137 of file trace.h.

Referenced by dxf_trace_init(), dxf_trace_read(), and dxf_trace_write().

double dxf_trace::x3

group code = 13
alignment point.

Definition at line 140 of file trace.h.

Referenced by dxf_trace_init(), dxf_trace_read(), and dxf_trace_write().

double dxf_trace::y3

group code = 23
alignment point.

Definition at line 143 of file trace.h.

Referenced by dxf_trace_init(), dxf_trace_read(), and dxf_trace_write().

double dxf_trace::z3

group code = 33
alignment point.

Definition at line 146 of file trace.h.

Referenced by dxf_trace_init(), dxf_trace_read(), and dxf_trace_write().

X-value of the extrusion vector.
Defaults to 0.0 if omitted in the DXF file.
Group code = 210.

Definition at line 149 of file trace.h.

Referenced by dxf_trace_init(), dxf_trace_read(), and dxf_trace_write().

Y-value of the extrusion vector.
Defaults to 0.0 if omitted in the DXF file.
Group code = 220.

Definition at line 153 of file trace.h.

Referenced by dxf_trace_init(), dxf_trace_read(), and dxf_trace_write().

Z-value of the extrusion vector.
Defaults to 1.0 if omitted in the DXF file.
Group code = 230.

Definition at line 157 of file trace.h.

Referenced by dxf_trace_init(), dxf_trace_read(), and dxf_trace_write().

pointer to the next DxfTrace.
NULL in the last DxfTrace.

Definition at line 160 of file trace.h.

Referenced by dxf_trace_free(), dxf_trace_free_chain(), and dxf_trace_init().


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