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

dxf_spatial_filter_struct Struct Reference

DXF definition of an AutoCAD spatial_filter object (SPATIAL_FILTER). More...

#include <spatial_filter.h>

Collaboration diagram for dxf_spatial_filter_struct:
Collaboration graph
[legend]

Data Fields

int id_code
char * dictionary_owner_soft
char * dictionary_owner_hard
DxfPointp0
double x0 [DXF_MAX_PARAM]
double y0 [DXF_MAX_PARAM]
DxfPointp1
double x1
double y1
double z1
double inverse_block_transformation [12]
double block_transformation [12]
double front_clipping_plane_distance
double back_clipping_plane_distance
int number_of_points
int clip_boundary_display_flag
int front_clipping_plane_flag
int back_clipping_plane_flag
double extr_x0
double extr_y0
double extr_z0
struct DxfSpatialFilternext

Detailed Description

DXF definition of an AutoCAD spatial_filter object (SPATIAL_FILTER).

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

Referenced by dxf_spatial_filter_get_id_code(), dxf_spatial_filter_init(), dxf_spatial_filter_read(), dxf_spatial_filter_set_id_code(), and dxf_spatial_filter_write().

The clip boundary definition point (in OCS) (always 2 or more) based on an xref scale of 1.
Group codes = 10 and 20.

Definition at line 76 of file spatial_filter.h.

Referenced by dxf_spatial_filter_get_p0(), dxf_spatial_filter_get_x0(), dxf_spatial_filter_get_y0(), dxf_spatial_filter_init(), dxf_spatial_filter_read(), dxf_spatial_filter_set_p0(), dxf_spatial_filter_set_x0(), dxf_spatial_filter_set_y0(), and dxf_spatial_filter_write().

double dxf_spatial_filter_struct::x0[DXF_MAX_PARAM]

X-value of the clip boundary definition point (in OCS) (always 2 or more) based on an xref scale of 1.
Group code = 10.

Definition at line 80 of file spatial_filter.h.

Referenced by dxf_spatial_filter_set_x0().

double dxf_spatial_filter_struct::y0[DXF_MAX_PARAM]

Y-value of the clip boundary definition point (in OCS) (always 2 or more) based on an xref scale of 1.
Group code = 20.

Definition at line 84 of file spatial_filter.h.

Referenced by dxf_spatial_filter_set_y0().

X-value of the origin used to define the local coordinate system of the clip boundary.
Group code = 11.

Definition at line 92 of file spatial_filter.h.

Y-value of the origin used to define the local coordinate system of the clip boundary.
Group code = 21.

Definition at line 96 of file spatial_filter.h.

Z-value of the origin used to define the local coordinate system of the clip boundary.
Group code = 31.

Definition at line 100 of file spatial_filter.h.

4x3 transformation matrix written out in column major order.
This matrix is the inverse of the original block reference (insert entity) transformation.
The original block reference transformation is the one that is applied to all entities in the block when the block reference is regenerated. (always 12 entries).
Group code = 40.

Definition at line 104 of file spatial_filter.h.

Referenced by dxf_spatial_filter_init(), dxf_spatial_filter_read(), and dxf_spatial_filter_write().

4x3 transformation matrix written out in column major order that transforms points into the coordinate system of the clip boundary (12 entries).
Group code = 40.

Definition at line 114 of file spatial_filter.h.

Referenced by dxf_spatial_filter_init(), dxf_spatial_filter_read(), and dxf_spatial_filter_write().

Number of points on the clip boundary.
2 = Rectangular clip boundary (lower-left and upper-right).
Greater than 2 = Polyline clip boundary.
Group code = 70.

Definition at line 125 of file spatial_filter.h.

Referenced by dxf_spatial_filter_get_number_of_points(), dxf_spatial_filter_init(), dxf_spatial_filter_read(), dxf_spatial_filter_set_number_of_points(), and dxf_spatial_filter_write().

X-value of the normal to the plane containing the clip boundary.
Group code = 210.

Definition at line 152 of file spatial_filter.h.

Referenced by dxf_spatial_filter_get_extr_x0(), dxf_spatial_filter_get_extrusion_vector_as_point(), dxf_spatial_filter_init(), dxf_spatial_filter_read(), dxf_spatial_filter_set_extr_x0(), and dxf_spatial_filter_write().

Y-value of the normal to the plane containing the clip boundary.
Group code = 220.

Definition at line 156 of file spatial_filter.h.

Referenced by dxf_spatial_filter_get_extr_y0(), dxf_spatial_filter_get_extrusion_vector_as_point(), dxf_spatial_filter_init(), dxf_spatial_filter_read(), dxf_spatial_filter_set_extr_y0(), and dxf_spatial_filter_write().

Z-value of the normal to the plane containing the clip boundary.
Group code = 230.

Definition at line 160 of file spatial_filter.h.

Referenced by dxf_spatial_filter_get_extr_z0(), dxf_spatial_filter_get_extrusion_vector_as_point(), dxf_spatial_filter_init(), dxf_spatial_filter_read(), dxf_spatial_filter_set_extr_z0(), and dxf_spatial_filter_write().

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

Definition at line 163 of file spatial_filter.h.

Referenced by dxf_spatial_filter_free(), dxf_spatial_filter_free_chain(), dxf_spatial_filter_get_last(), dxf_spatial_filter_get_next(), dxf_spatial_filter_init(), and dxf_spatial_filter_set_next().


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