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

dxf_xline Struct Reference

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

#include <xline.h>

Collaboration diagram for dxf_xline:
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
struct DxfXLinenext

Detailed Description

DXF definition of an AutoCAD xline entity.

Version:
According to DXF R10 (backward compatibility).
According to DXF R11 (backward compatibility).
According to DXF R12 (backward compatibility).
According to DXF R13.
According to DXF R14.

Definition at line 56 of file xline.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 61 of file xline.h.

Referenced by dxf_xline_init(), dxf_xline_read(), and dxf_xline_write().

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

Definition at line 66 of file xline.h.

Referenced by dxf_xline_free(), dxf_xline_init(), dxf_xline_read(), and dxf_xline_write().

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 xline.h.

Referenced by dxf_xline_free(), dxf_xline_init(), dxf_xline_read(), and dxf_xline_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 74 of file xline.h.

Referenced by dxf_xline_init(), dxf_xline_read(), and dxf_xline_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 xline.h.

Referenced by dxf_xline_init(), dxf_xline_read(), and dxf_xline_write().

Linetype scale (optional).
Group code = 48.

Definition at line 84 of file xline.h.

Referenced by dxf_xline_init(), dxf_xline_read(), and dxf_xline_write().

Object visibility (optional): 0 = Visible; 1 = Invisible.
Group code = 60.

Definition at line 87 of file xline.h.

Referenced by dxf_xline_init(), dxf_xline_read(), and dxf_xline_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 90 of file xline.h.

Referenced by dxf_xline_init(), dxf_xline_read(), and dxf_xline_write().

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

Definition at line 97 of file xline.h.

Referenced by dxf_xline_init(), dxf_xline_read(), and dxf_xline_write().

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

Definition at line 102 of file xline.h.

Referenced by dxf_xline_free(), dxf_xline_init(), dxf_xline_read(), and dxf_xline_write().

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

Definition at line 105 of file xline.h.

Referenced by dxf_xline_free(), dxf_xline_init(), dxf_xline_read(), and dxf_xline_write().

double dxf_xline::x0

X-value of the start point coordinate.
Group code = 10.

Definition at line 109 of file xline.h.

Referenced by dxf_xline_init(), dxf_xline_read(), and dxf_xline_write().

double dxf_xline::y0

Y-value of the start point coordinate.
Group code = 20.

Definition at line 112 of file xline.h.

Referenced by dxf_xline_init(), dxf_xline_read(), and dxf_xline_write().

double dxf_xline::z0

Z-value of the start point coordinate.
Group code = 30.

Definition at line 115 of file xline.h.

Referenced by dxf_xline_init(), dxf_xline_read(), and dxf_xline_write().

double dxf_xline::x1

X-value of the end point coordinate.
Group code = 11.

Definition at line 118 of file xline.h.

Referenced by dxf_xline_init(), dxf_xline_read(), and dxf_xline_write().

double dxf_xline::y1

Y-value of the end point coordinate.
Group code = 21.

Definition at line 121 of file xline.h.

Referenced by dxf_xline_init(), dxf_xline_read(), and dxf_xline_write().

double dxf_xline::z1

Z-value of the end point coordinate.
Group code = 31.

Definition at line 124 of file xline.h.

Referenced by dxf_xline_init(), dxf_xline_read(), and dxf_xline_write().

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

Definition at line 126 of file xline.h.

Referenced by dxf_xline_free(), dxf_xline_free_chain(), and dxf_xline_init().


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