libDXF 0.0.1
A library with DXF related functions written in C.
|
DXF definition of an AutoCAD spatial_filter object (SPATIAL_FILTER
).
More...
#include <spatial_filter.h>
Data Fields | |
int | id_code |
char * | dictionary_owner_soft |
char * | dictionary_owner_hard |
DxfPoint * | p0 |
double | x0 [DXF_MAX_PARAM] |
double | y0 [DXF_MAX_PARAM] |
DxfPoint * | p1 |
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 DxfSpatialFilter * | next |
DXF definition of an AutoCAD spatial_filter object (SPATIAL_FILTER
).
Definition at line 59 of file spatial_filter.h.
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().
Soft-pointer ID/handle to owner dictionary (SPATIAL).
Group code = 330.
Definition at line 69 of file spatial_filter.h.
Referenced by dxf_spatial_filter_free(), dxf_spatial_filter_get_dictionary_owner_soft(), dxf_spatial_filter_init(), dxf_spatial_filter_read(), dxf_spatial_filter_set_dictionary_owner_soft(), and dxf_spatial_filter_write().
Hard owner ID/handle to owner dictionary (optional).
Group code = 360.
Definition at line 72 of file spatial_filter.h.
Referenced by dxf_spatial_filter_free(), dxf_spatial_filter_get_dictionary_owner_hard(), dxf_spatial_filter_init(), dxf_spatial_filter_read(), dxf_spatial_filter_set_dictionary_owner_hard(), 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().
The origin used to define the local coordinate system of the clip boundary.
Group code = 11, 21 and 31.
Definition at line 88 of file spatial_filter.h.
Referenced by dxf_spatial_filter_get_p1(), dxf_spatial_filter_get_x1(), dxf_spatial_filter_get_y1(), dxf_spatial_filter_get_z1(), dxf_spatial_filter_init(), dxf_spatial_filter_read(), dxf_spatial_filter_set_p1(), dxf_spatial_filter_set_x1(), dxf_spatial_filter_set_y1(), dxf_spatial_filter_set_z1(), and dxf_spatial_filter_write().
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().
Front clipping plane distance (if code 72 = 1).
Group code = 40.
Definition at line 119 of file spatial_filter.h.
Referenced by dxf_spatial_filter_get_front_clipping_plane_distance(), dxf_spatial_filter_init(), dxf_spatial_filter_read(), dxf_spatial_filter_set_front_clipping_plane_distance(), and dxf_spatial_filter_write().
Front clipping plane distance (if code 73 = 1).
Group code = 41.
Definition at line 122 of file spatial_filter.h.
Referenced by dxf_spatial_filter_get_back_clipping_plane_distance(), dxf_spatial_filter_init(), dxf_spatial_filter_read(), dxf_spatial_filter_set_back_clipping_plane_distance(), 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().
Clip boundary display enabled flag.
Group code = 71.
Definition at line 131 of file spatial_filter.h.
Referenced by dxf_spatial_filter_get_clip_boundary_display_flag(), dxf_spatial_filter_init(), dxf_spatial_filter_read(), dxf_spatial_filter_set_clip_boundary_display_flag(), and dxf_spatial_filter_write().
Front clipping plane flag.
Group code = 72.
Definition at line 138 of file spatial_filter.h.
Referenced by dxf_spatial_filter_get_front_clipping_plane_flag(), dxf_spatial_filter_init(), dxf_spatial_filter_read(), dxf_spatial_filter_set_front_clipping_plane_flag(), and dxf_spatial_filter_write().
Back clipping plane flag.
Group code = 73.
Definition at line 145 of file spatial_filter.h.
Referenced by dxf_spatial_filter_get_back_clipping_plane_flag(), dxf_spatial_filter_init(), dxf_spatial_filter_read(), dxf_spatial_filter_set_back_clipping_plane_flag(), 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().