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

dxf_view Struct Reference

DXF definition of an AutoCAD view symbol table entry (VIEW). More...

#include <view.h>

Collaboration diagram for dxf_view:
Collaboration graph
[legend]

Data Fields

int id_code
char * view_name
double x_view
double y_view
double x_direction
double y_direction
double z_direction
double x_target
double y_target
double z_target
double view_height
double view_width
double lens_length
double front_plane_offset
double back_plane_offset
double view_twist_angle
int flag
int view_mode
char * dictionary_owner_soft
char * dictionary_owner_hard
struct DxfViewnext

Detailed Description

DXF definition of an AutoCAD view symbol table entry (VIEW).

See chapter 2 of the "AutoLISP Programmer's Reference" for information on DCS, the Display Coordinate System.

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

Definition at line 59 of file view.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 63 of file view.h.

Referenced by dxf_view_init(), dxf_view_read(), and dxf_view_write().

Name of view.
Group code = 2.

Definition at line 68 of file view.h.

Referenced by dxf_view_free(), dxf_view_init(), dxf_view_read(), and dxf_view_write().

View center point, in Display Coordinate System.
Group code = 10.

Definition at line 71 of file view.h.

Referenced by dxf_view_init(), dxf_view_read(), and dxf_view_write().

View center point, in Display Coordinate System.
Group code = 20.

Definition at line 74 of file view.h.

Referenced by dxf_view_init(), dxf_view_read(), and dxf_view_write().

View direction from target, in World Coordinate System.
Group code = 11.

Definition at line 77 of file view.h.

Referenced by dxf_view_init(), dxf_view_read(), and dxf_view_write().

View direction from target, in World Coordinate System.
Group code = 21.

Definition at line 81 of file view.h.

Referenced by dxf_view_init(), dxf_view_read(), and dxf_view_write().

View direction from target, in World Coordinate System.
Group code = 31.

Definition at line 85 of file view.h.

Referenced by dxf_view_init(), dxf_view_read(), and dxf_view_write().

Target point, in WCS.
Group code = 12.

Definition at line 89 of file view.h.

Referenced by dxf_view_init(), dxf_view_read(), and dxf_view_write().

Target point, in WCS.
Group code = 22.

Definition at line 92 of file view.h.

Referenced by dxf_view_init(), dxf_view_read(), and dxf_view_write().

Target point, in WCS.
Group code = 32.

Definition at line 95 of file view.h.

Referenced by dxf_view_init(), dxf_view_read(), and dxf_view_write().

View height in DCS.
Group code = 40.

Definition at line 98 of file view.h.

Referenced by dxf_view_init(), dxf_view_read(), and dxf_view_write().

View width in DCS.
Group code = 41.

Definition at line 101 of file view.h.

Referenced by dxf_view_init(), dxf_view_read(), and dxf_view_write().

Lens length.
Group code = 42.

Definition at line 104 of file view.h.

Referenced by dxf_view_init(), dxf_view_read(), and dxf_view_write().

Front clipping plane - offset from target point.
Group code = 43.

Definition at line 107 of file view.h.

Referenced by dxf_view_init(), dxf_view_read(), and dxf_view_write().

Back clipping plane - offset from target point.
Group code = 44.

Definition at line 110 of file view.h.

Referenced by dxf_view_init(), dxf_view_read(), and dxf_view_write().

Twist angle.
Group code = 50.

Definition at line 113 of file view.h.

Referenced by dxf_view_init(), dxf_view_read(), and dxf_view_write().


bit coded:

  1. If set, view is in paperspace.
  2. If set, table entry is externally dependent on an Xref.
  3. If this bit and bit 16 are both set, the externally dependent Xref has been successfully resolved.
  4. If set, the table entry was referenced by at least one entity in the drawing the last time the drawing was edited.

This flag is for the benefit of AutoCAD commands; it can be ignored by most programs that read DXF files, and need not be set by programs that write DXF files.
Group code = 70.

Definition at line 116 of file view.h.

Referenced by dxf_view_init(), dxf_view_read(), and dxf_view_write().

View mode (see VIEWMODE system variable).
Group code = 71.

Definition at line 134 of file view.h.

Referenced by dxf_view_init(), dxf_view_read(), and dxf_view_write().

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

Definition at line 137 of file view.h.

Referenced by dxf_view_free(), dxf_view_init(), dxf_view_read(), and dxf_view_write().

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

Definition at line 141 of file view.h.

Referenced by dxf_view_free(), dxf_view_init(), dxf_view_read(), and dxf_view_write().

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

Definition at line 144 of file view.h.

Referenced by dxf_view_free(), dxf_view_free_chain(), and dxf_view_init().


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