libDXF 0.0.1
A library with DXF related functions written in C.
|
Header file for a DXF polyline entity (PLINE
).
More...
Go to the source code of this file.
Data Structures | |
struct | dxf_polyline_struct |
Definition of a DXF polyline entity. More... | |
Typedefs | |
typedef struct dxf_polyline_struct | DxfPolyline |
Definition of a DXF polyline entity. | |
Functions | |
DxfPolyline * | dxf_polyline_new () |
Allocate memory for a DxfPolyline . | |
DxfPolyline * | dxf_polyline_init (DxfPolyline *polyline) |
Allocate memory and initialize data fields in a POLYLINE entity. | |
DxfPolyline * | dxf_polyline_read (DxfFile *fp, DxfPolyline *polyline) |
Read data from a DXF file into an POLYLINE entity. | |
int | dxf_polyline_write (DxfFile *fp, DxfPolyline *polyline) |
Write DXF output to fp for a polyline entity. | |
int | dxf_polyline_free (DxfPolyline *polyline) |
Free the allocated memory for a DXF POLYLINE and all it's data fields. | |
void | dxf_polyline_free_chain (DxfPolyline *polylines) |
Free the allocated memory for a chain of DXF POLYLINE entities and all their data fields. | |
int | dxf_polyline_get_id_code (DxfPolyline *polyline) |
Get the id_code from a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_id_code (DxfPolyline *polyline, int id_code) |
Set the id_code for a DXF POLYLINE entity. | |
char * | dxf_polyline_get_linetype (DxfPolyline *polyline) |
Get the linetype from a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_linetype (DxfPolyline *polyline, char *linetype) |
Set the linetype for a DXF POLYLINE entity. | |
char * | dxf_polyline_get_layer (DxfPolyline *polyline) |
Get the layer from a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_layer (DxfPolyline *polyline, char *layer) |
Set the layer for a DXF POLYLINE entity. | |
double | dxf_polyline_get_elevation (DxfPolyline *polyline) |
Get the elevation a this DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_elevation (DxfPolyline *polyline, double elevation) |
Set the elevation for a DXF POLYLINE entity. | |
double | dxf_polyline_get_thickness (DxfPolyline *polyline) |
Get the thickness from a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_thickness (DxfPolyline *polyline, double thickness) |
Set the thickness for a DXF POLYLINE entity. | |
double | dxf_polyline_get_linetype_scale (DxfPolyline *polyline) |
Get the linetype_scale from a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_linetype_scale (DxfPolyline *polyline, double linetype_scale) |
Set the linetype_scale for a DXF POLYLINE entity. | |
int16_t | dxf_polyline_get_visibility (DxfPolyline *polyline) |
Get the visibility from a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_visibility (DxfPolyline *polyline, int16_t visibility) |
Set the visibility for a DXF POLYLINE entity. | |
int | dxf_polyline_get_color (DxfPolyline *polyline) |
Get the color from a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_color (DxfPolyline *polyline, int color) |
Set the color for a DXF POLYLINE entity. | |
int | dxf_polyline_get_paperspace (DxfPolyline *polyline) |
Get the paperspace flag value from a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_paperspace (DxfPolyline *polyline, int paperspace) |
Set the paperspace flag for a DXF POLYLINE entity. | |
int | dxf_polyline_get_graphics_data_size (DxfPolyline *polyline) |
Get the graphics_data_size value from a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_graphics_data_size (DxfPolyline *polyline, int graphics_data_size) |
Set the graphics_data_size value for a DXF POLYLINE entity. | |
int16_t | dxf_polyline_get_shadow_mode (DxfPolyline *polyline) |
Get the shadow_mode from a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_shadow_mode (DxfPolyline *polyline, int16_t shadow_mode) |
Set the shadow_mode for a DXF POLYLINE entity. | |
DxfBinaryGraphicsData * | dxf_polyline_get_binary_graphics_data (DxfPolyline *polyline) |
Get the pointer to the binary_graphics_data from a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_binary_graphics_data (DxfPolyline *polyline, DxfBinaryGraphicsData *data) |
Set the pointer to the binary_graphics_data for a DXF POLYLINE entity. | |
char * | dxf_polyline_get_dictionary_owner_soft (DxfPolyline *polyline) |
Get the soft pointer to the dictionary_owner_soft from a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_dictionary_owner_soft (DxfPolyline *polyline, char *dictionary_owner_soft) |
Set the pointer to the dictionary_owner_soft for a DXF POLYLINE entity. | |
char * | dxf_polyline_get_material (DxfPolyline *polyline) |
Get the pointer to the material from a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_material (DxfPolyline *polyline, char *material) |
Set the pointer to the material for a DXF POLYLINE entity. | |
char * | dxf_polyline_get_dictionary_owner_hard (DxfPolyline *polyline) |
Get the pointer to the dictionary_owner_hard from a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_dictionary_owner_hard (DxfPolyline *polyline, char *dictionary_owner_hard) |
Set the pointer to the dictionary_owner_hard for a DXF POLYLINE entity. | |
int16_t | dxf_polyline_get_lineweight (DxfPolyline *polyline) |
Get the lineweight from a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_lineweight (DxfPolyline *polyline, int16_t lineweight) |
Set the lineweight for a DXF POLYLINE entity. | |
char * | dxf_polyline_get_plot_style_name (DxfPolyline *polyline) |
Get the plot_style_name from a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_plot_style_name (DxfPolyline *polyline, char *plot_style_name) |
Set the plot_style_name for a DXF POLYLINE entity. | |
long | dxf_polyline_get_color_value (DxfPolyline *polyline) |
Get the color_value from a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_color_value (DxfPolyline *polyline, long color_value) |
Set the color_value for a DXF POLYLINE entity. | |
char * | dxf_polyline_get_color_name (DxfPolyline *polyline) |
Get the color_name from a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_color_name (DxfPolyline *polyline, char *color_name) |
Set the color_name for a DXF POLYLINE entity. | |
long | dxf_polyline_get_transparency (DxfPolyline *polyline) |
Get the transparency from a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_transparency (DxfPolyline *polyline, long transparency) |
Set the transparency for a DXF POLYLINE entity. | |
DxfPoint * | dxf_polyline_get_p0 (DxfPolyline *polyline) |
Get the insertion point of a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_p0 (DxfPolyline *polyline, DxfPoint *p0) |
Set the insertion point p0 of a DXF POLYLINE entity. | |
double | dxf_polyline_get_x0 (DxfPolyline *polyline) |
Get the X-value of the insertion point x0 of a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_x0 (DxfPolyline *polyline, double x0) |
Set the X-value of the insertion point x0 of a DXF POLYLINE entity. | |
double | dxf_polyline_get_y0 (DxfPolyline *polyline) |
Get the Y-value of the insertion point y0 of a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_y0 (DxfPolyline *polyline, double y0) |
Set the Y-value of the insertion point y0 of a DXF POLYLINE entity. | |
double | dxf_polyline_get_z0 (DxfPolyline *polyline) |
Get the Z-value of the insertion point z0 of a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_z0 (DxfPolyline *polyline, double z0) |
Set the Z-value of the insertion point z0 of a DXF POLYLINE entity. | |
double | dxf_polyline_get_start_width (DxfPolyline *polyline) |
Get the start_width of a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_start_width (DxfPolyline *polyline, double start_width) |
Set the start_width of a DXF POLYLINE entity. | |
double | dxf_polyline_get_end_width (DxfPolyline *polyline) |
Get the end_width of a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_end_width (DxfPolyline *polyline, double end_width) |
Set the end_width of a DXF POLYLINE entity. | |
int | dxf_polyline_get_vertices_follow (DxfPolyline *polyline) |
Get the vertices_follow from a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_vertices_follow (DxfPolyline *polyline, int vertices_follow) |
Set the vertices_follow for a DXF POLYLINE entity. | |
int | dxf_polyline_get_flag (DxfPolyline *polyline) |
Get the flag from a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_flag (DxfPolyline *polyline, int flag) |
Set the flag for a DXF POLYLINE entity. | |
int | dxf_polyline_get_polygon_mesh_M_vertex_count (DxfPolyline *polyline) |
Get the polygon_mesh_M_vertex_count from a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_polygon_mesh_M_vertex_count (DxfPolyline *polyline, int polygon_mesh_M_vertex_count) |
Set the polygon_mesh_M_vertex_count for a DXF POLYLINE entity. | |
int | dxf_polyline_get_polygon_mesh_N_vertex_count (DxfPolyline *polyline) |
Get the polygon_mesh_N_vertex_count from a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_polygon_mesh_N_vertex_count (DxfPolyline *polyline, int polygon_mesh_N_vertex_count) |
Set the polygon_mesh_N_vertex_count for a DXF POLYLINE entity. | |
int | dxf_polyline_get_smooth_M_surface_density (DxfPolyline *polyline) |
Get the smooth_M_surface_density from a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_smooth_M_surface_density (DxfPolyline *polyline, int smooth_M_surface_density) |
Set the smooth_M_surface_density for a DXF POLYLINE entity. | |
int | dxf_polyline_get_smooth_N_surface_density (DxfPolyline *polyline) |
Get the smooth_N_surface_density from a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_smooth_N_surface_density (DxfPolyline *polyline, int smooth_N_surface_density) |
Set the smooth_N_surface_density for a DXF POLYLINE entity. | |
int | dxf_polyline_get_surface_type (DxfPolyline *polyline) |
Get the surface_type from a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_surface_type (DxfPolyline *polyline, int surface_type) |
Set the surface_type for a DXF POLYLINE entity. | |
double | dxf_polyline_get_extr_x0 (DxfPolyline *polyline) |
Get the X-value of the extrusion vector of a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_extr_x0 (DxfPolyline *polyline, double extr_x0) |
Set the X-value of the extrusion vector of a DXF POLYLINE entity. | |
double | dxf_polyline_get_extr_y0 (DxfPolyline *polyline) |
Get the Y-value of the extrusion vector of a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_extr_y0 (DxfPolyline *polyline, double extr_y0) |
Set the Y-value of the extrusion vector of a DXF POLYLINE entity. | |
double | dxf_polyline_get_extr_z0 (DxfPolyline *polyline) |
Get the Z-value of the extrusion vector of a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_extr_z0 (DxfPolyline *polyline, double extr_z0) |
Set the Z-value of the extrusion vector of a DXF POLYLINE entity. | |
DxfVertex * | dxf_polyline_get_vertices (DxfPolyline *polyline) |
Get the pointer to the first vertex of a linked list of vertices from a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_vertices (DxfPolyline *polyline, DxfVertex *vertices) |
Set the pointer to the first vertex of a linked list of vertices for a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_get_next (DxfPolyline *polyline) |
Get the pointer to the next POLYLINE entity from a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_set_next (DxfPolyline *polyline, DxfPolyline *next) |
Set the pointer to the next POLYLINE for a DXF POLYLINE entity. | |
DxfPolyline * | dxf_polyline_get_last (DxfPolyline *polyline) |
Get the pointer to the last POLYLINE entity from a linked list of DXF POLYLINE entities. |
Header file for a DXF polyline entity (PLINE
).
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to:
Free Software Foundation, Inc.,
59 Temple Place,
Suite 330,
Boston,
MA 02111 USA.
Drawing eXchange Format (DXF) is a defacto industry standard for the exchange of drawing files between various Computer Aided Drafting programs.
DXF is an industry standard designed by Autodesk(TM).
For more details see http://www.autodesk.com .
Definition in file polyline.h.
typedef struct dxf_polyline_struct DxfPolyline |
Definition of a DXF polyline entity.
A polyface mesh is represented in DXF
as a variant of a Polyline entity.
The Polyline header is identified as introducing a polyface mesh by the presence of the 64 bit in the Polyline flags (70) group.
The 71 group specifies the number of vertices in the mesh, and the 72 group, the number of faces.
While these counts are correct for all meshes created with the PFACE
command, applications are not required to place correct values in these fields, and AutoCAD actually never relies upon their accuracy.
Following the Polyline header is a sequence of Vertex entities that specify the vertex coordinates and faces that compose the mesh.
Vertices such as these are described in the following subsection on Vertex.
Applications might want to represent polygons with an arbitrarily large number of sides in polyface meshes.
However, the AutoCAD entity structure imposes a limit on the number of vertices that a given face entity can specify.
You can represent more complex polygons by decomposing them into triangular wedges.
Their edges should be made invisible to prevent visible artifacts of this subdivision from being drawn.
The PFACE
command performs this subdivision automatically, but when applications generate polyface meshes directly, the applications must do this themselves.
The number of vertices per face is the key parameter in this subdivision process.
The PFACEVMAX
system variable provides an application with the number of vertices per face entity.
This value is read-only, and is set to 4.
Polyface meshes created with the PFACE
command are always generated with all the vertex coordinate entities first, followed by the face definition entities.
The code within AutoCAD that processes polyface meshes does not, at present, require this ordering; it works even with interleaved vertex coordinates and face definitions as long as no face specifies a vertex with an index that appears after it in the database.
Programs that read polyface meshes from DXF
would be wise to be as tolerant of odd vertex and face ordering as AutoCAD is.
DxfPolyline* dxf_polyline_new | ( | ) |
Allocate memory for a DxfPolyline
.
Fill the memory contents with zeros.
Definition at line 53 of file polyline.c.
References _, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_donut_write(), dxf_polyline_init(), and dxf_polyline_read().
DxfPolyline* dxf_polyline_init | ( | DxfPolyline * | polyline | ) |
Allocate memory and initialize data fields in a POLYLINE
entity.
NULL
when no memory was allocated, a pointer to the allocated memory when succesful. polyline | a pointer to the DXF polyline entity. |
Definition at line 90 of file polyline.c.
References _, dxf_binary_graphics_data_new(), DXF_COLOR_BYLAYER, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_DEFAULT_LAYER, DXF_DEFAULT_LINETYPE, DXF_DEFAULT_LINETYPE_SCALE, DXF_DEFAULT_VISIBILITY, DXF_MODELSPACE, dxf_point_init(), dxf_point_new(), dxf_polyline_get_p0(), dxf_polyline_get_vertices(), dxf_polyline_new(), dxf_polyline_set_binary_graphics_data(), dxf_polyline_set_color(), dxf_polyline_set_color_name(), dxf_polyline_set_color_value(), dxf_polyline_set_dictionary_owner_hard(), dxf_polyline_set_dictionary_owner_soft(), dxf_polyline_set_elevation(), dxf_polyline_set_end_width(), dxf_polyline_set_extr_x0(), dxf_polyline_set_extr_y0(), dxf_polyline_set_extr_z0(), dxf_polyline_set_flag(), dxf_polyline_set_graphics_data_size(), dxf_polyline_set_id_code(), dxf_polyline_set_layer(), dxf_polyline_set_linetype(), dxf_polyline_set_linetype_scale(), dxf_polyline_set_lineweight(), dxf_polyline_set_material(), dxf_polyline_set_next(), dxf_polyline_set_p0(), dxf_polyline_set_paperspace(), dxf_polyline_set_plot_style_name(), dxf_polyline_set_polygon_mesh_M_vertex_count(), dxf_polyline_set_polygon_mesh_N_vertex_count(), dxf_polyline_set_shadow_mode(), dxf_polyline_set_smooth_M_surface_density(), dxf_polyline_set_smooth_N_surface_density(), dxf_polyline_set_start_width(), dxf_polyline_set_surface_type(), dxf_polyline_set_thickness(), dxf_polyline_set_transparency(), dxf_polyline_set_vertices(), dxf_polyline_set_vertices_follow(), dxf_polyline_set_visibility(), dxf_polyline_set_x0(), dxf_polyline_set_y0(), dxf_polyline_set_z0(), dxf_vertex_init(), and dxf_vertex_new().
Referenced by dxf_donut_write(), and dxf_polyline_read().
DxfPolyline* dxf_polyline_read | ( | DxfFile * | fp, |
DxfPolyline * | polyline | ||
) |
Read data from a DXF file into an POLYLINE
entity.
The last line read from file contained the string "POLYLINE".
Now follows some data for the POLYLINE
, to be terminated with a " 0" string announcing the following entity, or the end of the ENTITY
section marker ENDSEC
.
While parsing the DXF file store data in polyline
.
EXIT_SUCCESS
when done, or EXIT_FAILURE
when an error occurred. fp | DXF file pointer to an input file (or device). |
polyline | a pointer to the DXF polyline entity. |
Definition at line 175 of file polyline.c.
References _, dxf_polyline_struct::color, dxf_polyline_struct::dictionary_owner_hard, dxf_polyline_struct::dictionary_owner_soft, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_DEFAULT_LAYER, DXF_DEFAULT_LINETYPE, dxf_polyline_get_layer(), dxf_polyline_get_linetype(), dxf_polyline_init(), dxf_polyline_new(), dxf_polyline_set_layer(), dxf_polyline_set_linetype(), dxf_polyline_struct::elevation, dxf_polyline_struct::end_width, dxf_polyline_struct::extr_x0, dxf_polyline_struct::extr_y0, dxf_polyline_struct::extr_z0, dxf_file_struct::filename, dxf_polyline_struct::flag, dxf_file_struct::fp, dxf_polyline_struct::id_code, dxf_polyline_struct::layer, dxf_file_struct::line_number, dxf_polyline_struct::linetype, dxf_polyline_struct::linetype_scale, dxf_polyline_struct::p0, dxf_polyline_struct::paperspace, dxf_polyline_struct::polygon_mesh_M_vertex_count, dxf_polyline_struct::polygon_mesh_N_vertex_count, dxf_polyline_struct::smooth_M_surface_density, dxf_polyline_struct::start_width, dxf_polyline_struct::surface_type, dxf_polyline_struct::thickness, dxf_polyline_struct::vertices_follow, dxf_polyline_struct::visibility, dxf_point_struct::x0, dxf_point_struct::y0, and dxf_point_struct::z0.
int dxf_polyline_write | ( | DxfFile * | fp, |
DxfPolyline * | polyline | ||
) |
Write DXF output to fp for a polyline entity.
EXIT_SUCCESS
when done, or EXIT_FAILURE
when an error occurred. fp | DXF file pointer to an output file (or device). |
polyline | a pointer to the DXF polyline entity. |
Definition at line 450 of file polyline.c.
References _, dxf_file_struct::acad_version_number, AutoCAD_11, AutoCAD_12, AutoCAD_13, AutoCAD_14, AutoCAD_2002, dxf_polyline_struct::dictionary_owner_hard, dxf_polyline_struct::dictionary_owner_soft, DXF_COLOR_BYLAYER, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_DEFAULT_LAYER, DXF_DEFAULT_LINETYPE, DXF_FLATLAND, DXF_PAPERSPACE, dxf_polyline_get_color(), dxf_polyline_get_dictionary_owner_hard(), dxf_polyline_get_dictionary_owner_soft(), dxf_polyline_get_elevation(), dxf_polyline_get_end_width(), dxf_polyline_get_extr_x0(), dxf_polyline_get_extr_y0(), dxf_polyline_get_extr_z0(), dxf_polyline_get_flag(), dxf_polyline_get_id_code(), dxf_polyline_get_layer(), dxf_polyline_get_linetype(), dxf_polyline_get_linetype_scale(), dxf_polyline_get_paperspace(), dxf_polyline_get_polygon_mesh_M_vertex_count(), dxf_polyline_get_polygon_mesh_N_vertex_count(), dxf_polyline_get_smooth_M_surface_density(), dxf_polyline_get_smooth_N_surface_density(), dxf_polyline_get_start_width(), dxf_polyline_get_surface_type(), dxf_polyline_get_thickness(), dxf_polyline_get_vertices(), dxf_polyline_get_vertices_follow(), dxf_polyline_get_visibility(), dxf_polyline_get_x0(), dxf_polyline_get_y0(), dxf_polyline_get_z0(), dxf_polyline_set_layer(), dxf_polyline_set_linetype(), dxf_vertex_free(), dxf_vertex_write(), dxf_file_struct::fp, and dxf_vertex_struct::next.
Referenced by dxf_donut_write().
int dxf_polyline_free | ( | DxfPolyline * | polyline | ) |
Free the allocated memory for a DXF POLYLINE
and all it's data fields.
EXIT_SUCCESS
when done, or EXIT_FAILURE
when an error occurred. polyline | a pointer to the memory occupied by the DXF POLYLINE entity. |
Definition at line 654 of file polyline.c.
References _, dxf_binary_graphics_data_free_chain(), DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_point_free(), dxf_polyline_get_binary_graphics_data(), dxf_polyline_get_color_name(), dxf_polyline_get_dictionary_owner_hard(), dxf_polyline_get_dictionary_owner_soft(), dxf_polyline_get_layer(), dxf_polyline_get_linetype(), dxf_polyline_get_material(), dxf_polyline_get_p0(), dxf_polyline_get_plot_style_name(), dxf_polyline_get_vertices(), dxf_vertex_free_chain(), and dxf_polyline_struct::next.
Referenced by dxf_polyline_free_chain().
void dxf_polyline_free_chain | ( | DxfPolyline * | polylines | ) |
Free the allocated memory for a chain of DXF POLYLINE
entities and all their data fields.
polylines | a pointer to the chain of DXF POLYLINE entities. |
Definition at line 703 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_polyline_free(), and dxf_polyline_struct::next.
int dxf_polyline_get_id_code | ( | DxfPolyline * | polyline | ) |
Get the id_code
from a DXF POLYLINE
entity.
id_code
. polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 736 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::id_code.
Referenced by dxf_polyline_write().
DxfPolyline* dxf_polyline_set_id_code | ( | DxfPolyline * | polyline, |
int | id_code | ||
) |
Set the id_code
for a DXF POLYLINE
entity.
polyline
when sucessful, NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
id_code | Identification number for the entity. This is to be an unique (sequential) number in the DXF file. |
Definition at line 773 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::id_code.
Referenced by dxf_polyline_init().
char* dxf_polyline_get_linetype | ( | DxfPolyline * | polyline | ) |
Get the linetype from a DXF POLYLINE
entity.
linetype
when sucessful, NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 815 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::linetype.
Referenced by dxf_polyline_free(), dxf_polyline_read(), and dxf_polyline_write().
DxfPolyline* dxf_polyline_set_linetype | ( | DxfPolyline * | polyline, |
char * | linetype | ||
) |
Set the linetype
for a DXF POLYLINE
entity.
polyline
when sucessful, NULL
when an error occurred.linetype
variable is not freed by this function. polyline | a pointer to a DXF POLYLINE entity. |
linetype | a string containing the linetype for the entity. |
Definition at line 856 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::linetype.
Referenced by dxf_polyline_init(), dxf_polyline_read(), and dxf_polyline_write().
char* dxf_polyline_get_layer | ( | DxfPolyline * | polyline | ) |
Get the layer
from a DXF POLYLINE
entity.
layer
when sucessful, NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 897 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::layer.
Referenced by dxf_polyline_free(), dxf_polyline_read(), and dxf_polyline_write().
DxfPolyline* dxf_polyline_set_layer | ( | DxfPolyline * | polyline, |
char * | layer | ||
) |
Set the layer
for a DXF POLYLINE
entity.
polyline
when sucessful, NULL
when an error occurred.layer
variable is not freed by this function. polyline | a pointer to a DXF POLYLINE entity. |
layer | a string containing the layer for the entity. |
Definition at line 937 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::layer.
Referenced by dxf_polyline_init(), dxf_polyline_read(), and dxf_polyline_write().
double dxf_polyline_get_elevation | ( | DxfPolyline * | polyline | ) |
Get the elevation
a this DXF POLYLINE
entity.
elevation
. polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 977 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::elevation.
Referenced by dxf_polyline_write().
DxfPolyline* dxf_polyline_set_elevation | ( | DxfPolyline * | polyline, |
double | elevation | ||
) |
Set the elevation
for a DXF POLYLINE
entity.
polyline
when sucessful, NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
elevation | the elevation to be set for the entity. |
Definition at line 1008 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::elevation.
Referenced by dxf_polyline_init().
double dxf_polyline_get_thickness | ( | DxfPolyline * | polyline | ) |
Get the thickness
from a DXF POLYLINE
entity.
thickness
. polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 1041 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::thickness.
Referenced by dxf_polyline_write().
DxfPolyline* dxf_polyline_set_thickness | ( | DxfPolyline * | polyline, |
double | thickness | ||
) |
Set the thickness
for a DXF POLYLINE
entity.
polyline
when sucessful, NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
thickness | the thickness to be set for the entity. |
Definition at line 1078 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::thickness.
Referenced by dxf_polyline_init().
double dxf_polyline_get_linetype_scale | ( | DxfPolyline * | polyline | ) |
Get the linetype_scale
from a DXF POLYLINE
entity.
linetype_scale
. polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 1117 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::linetype_scale.
Referenced by dxf_polyline_write().
DxfPolyline* dxf_polyline_set_linetype_scale | ( | DxfPolyline * | polyline, |
double | linetype_scale | ||
) |
Set the linetype_scale
for a DXF POLYLINE
entity.
polyline
when sucessful, NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
linetype_scale | the linetype_scale to be set for the entity. |
Definition at line 1154 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::linetype_scale.
Referenced by dxf_polyline_init().
int16_t dxf_polyline_get_visibility | ( | DxfPolyline * | polyline | ) |
Get the visibility
from a DXF POLYLINE
entity.
visibility
. polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 1193 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::visibility.
Referenced by dxf_polyline_write().
DxfPolyline* dxf_polyline_set_visibility | ( | DxfPolyline * | polyline, |
int16_t | visibility | ||
) |
Set the visibility
for a DXF POLYLINE
entity.
polyline
when sucessful, NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
visibility | the visibility to be set for the entity. |
Definition at line 1238 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::visibility.
Referenced by dxf_polyline_init().
int dxf_polyline_get_color | ( | DxfPolyline * | polyline | ) |
Get the color
from a DXF POLYLINE
entity.
color
. polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 1285 of file polyline.c.
References _, dxf_polyline_struct::color, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_polyline_write().
DxfPolyline* dxf_polyline_set_color | ( | DxfPolyline * | polyline, |
int | color | ||
) |
Set the color
for a DXF POLYLINE
entity.
polyline
when sucessful, NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
color | the color to be set for the entity. |
Definition at line 1322 of file polyline.c.
References _, dxf_polyline_struct::color, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_polyline_init().
int dxf_polyline_get_paperspace | ( | DxfPolyline * | polyline | ) |
Get the paperspace
flag value from a DXF POLYLINE
entity.
paperspace
flag value. polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 1364 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::paperspace.
Referenced by dxf_polyline_write().
DxfPolyline* dxf_polyline_set_paperspace | ( | DxfPolyline * | polyline, |
int | paperspace | ||
) |
Set the paperspace
flag for a DXF POLYLINE
entity.
polyline
when sucessful, NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
paperspace | the paperspace flag value to be set for the entity. |
Definition at line 1407 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::paperspace.
Referenced by dxf_polyline_init().
int dxf_polyline_get_graphics_data_size | ( | DxfPolyline * | polyline | ) |
Get the graphics_data_size
value from a DXF POLYLINE
entity.
graphics_data_size
value when successful, or EXIT_FAILURE
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 1456 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::graphics_data_size.
DxfPolyline* dxf_polyline_set_graphics_data_size | ( | DxfPolyline * | polyline, |
int | graphics_data_size | ||
) |
Set the graphics_data_size
value for a DXF POLYLINE
entity.
polyline
when successful, or NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
graphics_data_size | the graphics_data_size value to be set for the entity. |
Definition at line 1500 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::graphics_data_size.
Referenced by dxf_polyline_init().
int16_t dxf_polyline_get_shadow_mode | ( | DxfPolyline * | polyline | ) |
Get the shadow_mode
from a DXF POLYLINE
entity.
shadow_mode
when successful, or EXIT_FAILURE
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 1548 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::shadow_mode.
DxfPolyline* dxf_polyline_set_shadow_mode | ( | DxfPolyline * | polyline, |
int16_t | shadow_mode | ||
) |
Set the shadow_mode
for a DXF POLYLINE
entity.
polyline
when successful, or NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
shadow_mode | the shadow mode to be set for the entity. |
Definition at line 1593 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::shadow_mode.
Referenced by dxf_polyline_init().
DxfBinaryGraphicsData* dxf_polyline_get_binary_graphics_data | ( | DxfPolyline * | polyline | ) |
Get the pointer to the binary_graphics_data
from a DXF POLYLINE
entity.
binary_graphics_data
.polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 1643 of file polyline.c.
References _, dxf_polyline_struct::binary_graphics_data, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_polyline_free().
DxfPolyline* dxf_polyline_set_binary_graphics_data | ( | DxfPolyline * | polyline, |
DxfBinaryGraphicsData * | data | ||
) |
Set the pointer to the binary_graphics_data
for a DXF POLYLINE
entity.
polyline | a pointer to a DXF POLYLINE entity. |
data | a string containing the pointer to the binary_graphics_data for the entity. |
Definition at line 1679 of file polyline.c.
References _, dxf_polyline_struct::binary_graphics_data, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_polyline_init().
char* dxf_polyline_get_dictionary_owner_soft | ( | DxfPolyline * | polyline | ) |
Get the soft pointer to the dictionary_owner_soft
from a DXF POLYLINE
entity.
dictionary_owner_soft
.polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 1723 of file polyline.c.
References _, dxf_polyline_struct::dictionary_owner_soft, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_polyline_free(), and dxf_polyline_write().
DxfPolyline* dxf_polyline_set_dictionary_owner_soft | ( | DxfPolyline * | polyline, |
char * | dictionary_owner_soft | ||
) |
Set the pointer to the dictionary_owner_soft
for a DXF POLYLINE
entity.
polyline | a pointer to a DXF POLYLINE entity. |
dictionary_owner_soft | a string containing the pointer to the dictionary_owner_soft for the entity. |
Definition at line 1759 of file polyline.c.
References _, dxf_polyline_struct::dictionary_owner_soft, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_polyline_init().
char* dxf_polyline_get_material | ( | DxfPolyline * | polyline | ) |
Get the pointer to the material
from a DXF POLYLINE
entity.
material
when successful, or NULL
when an error occurred.polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 1804 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::material.
Referenced by dxf_polyline_free().
DxfPolyline* dxf_polyline_set_material | ( | DxfPolyline * | polyline, |
char * | material | ||
) |
Set the pointer to the material
for a DXF POLYLINE
entity.
polyline
when successful, or NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
material | a string containing the pointer to the material for the entity. |
Definition at line 1843 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::material.
Referenced by dxf_polyline_init().
char* dxf_polyline_get_dictionary_owner_hard | ( | DxfPolyline * | polyline | ) |
Get the pointer to the dictionary_owner_hard
from a DXF POLYLINE
entity.
dictionary_owner_hard
.polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 1887 of file polyline.c.
References _, dxf_polyline_struct::dictionary_owner_hard, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_polyline_free(), and dxf_polyline_write().
DxfPolyline* dxf_polyline_set_dictionary_owner_hard | ( | DxfPolyline * | polyline, |
char * | dictionary_owner_hard | ||
) |
Set the pointer to the dictionary_owner_hard
for a DXF POLYLINE
entity.
polyline
when sucessful, NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
dictionary_owner_hard | a string containing the pointer to the dictionary_owner_hard for the entity. |
Definition at line 1926 of file polyline.c.
References _, dxf_polyline_struct::dictionary_owner_hard, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_polyline_init().
int16_t dxf_polyline_get_lineweight | ( | DxfPolyline * | polyline | ) |
Get the lineweight
from a DXF POLYLINE
entity.
lineweight
when successful, or EXIT_FAILURE
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 1968 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::lineweight.
DxfPolyline* dxf_polyline_set_lineweight | ( | DxfPolyline * | polyline, |
int16_t | lineweight | ||
) |
Set the lineweight
for a DXF POLYLINE
entity.
polyline
when successful, or NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
lineweight | the lineweight to be set for the entity. |
Definition at line 1999 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::lineweight.
Referenced by dxf_polyline_init().
char* dxf_polyline_get_plot_style_name | ( | DxfPolyline * | polyline | ) |
Get the plot_style_name
from a DXF POLYLINE
entity.
plot_style_name
when sucessful, or NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 2033 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::plot_style_name.
Referenced by dxf_polyline_free().
DxfPolyline* dxf_polyline_set_plot_style_name | ( | DxfPolyline * | polyline, |
char * | plot_style_name | ||
) |
Set the plot_style_name
for a DXF POLYLINE
entity.
polyline
when successful, or NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
plot_style_name | a string containing the plot_style_name for the entity. |
Definition at line 2071 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::plot_style_name.
Referenced by dxf_polyline_init().
long dxf_polyline_get_color_value | ( | DxfPolyline * | polyline | ) |
Get the color_value
from a DXF POLYLINE
entity.
color_value
when successful, or EXIT_FAILURE
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 2113 of file polyline.c.
References _, dxf_polyline_struct::color_value, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
DxfPolyline* dxf_polyline_set_color_value | ( | DxfPolyline * | polyline, |
long | color_value | ||
) |
Set the color_value
for a DXF POLYLINE
entity.
polyline
when successful, or NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
color_value | the color_value to be set for the entity. |
Definition at line 2144 of file polyline.c.
References _, dxf_polyline_struct::color_value, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_polyline_init().
char* dxf_polyline_get_color_name | ( | DxfPolyline * | polyline | ) |
Get the color_name
from a DXF POLYLINE
entity.
color_name
when sucessful, or NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 2178 of file polyline.c.
References _, dxf_polyline_struct::color_name, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_polyline_free().
DxfPolyline* dxf_polyline_set_color_name | ( | DxfPolyline * | polyline, |
char * | color_name | ||
) |
Set the color_name
for a DXF POLYLINE
entity.
polyline
when successful, or NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
color_name | a string containing the color_name for the entity. |
Definition at line 2216 of file polyline.c.
References _, dxf_polyline_struct::color_name, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_polyline_init().
long dxf_polyline_get_transparency | ( | DxfPolyline * | polyline | ) |
Get the transparency
from a DXF POLYLINE
entity.
transparency
when successful, or EXIT_FAILURE
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 2258 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::transparency.
DxfPolyline* dxf_polyline_set_transparency | ( | DxfPolyline * | polyline, |
long | transparency | ||
) |
Set the transparency
for a DXF POLYLINE
entity.
polyline
when successful, or NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
transparency | the transparency to be set for the entity. |
Definition at line 2289 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::transparency.
Referenced by dxf_polyline_init().
DxfPoint* dxf_polyline_get_p0 | ( | DxfPolyline * | polyline | ) |
Get the insertion point of a DXF POLYLINE
entity.
p0
. polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 2322 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::p0.
Referenced by dxf_polyline_free(), and dxf_polyline_init().
DxfPolyline* dxf_polyline_set_p0 | ( | DxfPolyline * | polyline, |
DxfPoint * | p0 | ||
) |
Set the insertion point p0
of a DXF POLYLINE
entity.
polyline
when successful, or NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
p0 | a pointer to a DXF POINT entity. |
Definition at line 2360 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::p0.
Referenced by dxf_polyline_init().
double dxf_polyline_get_x0 | ( | DxfPolyline * | polyline | ) |
Get the X-value of the insertion point x0
of a DXF POLYLINE
entity.
x0
. polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 2401 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_polyline_struct::p0, and dxf_point_struct::x0.
Referenced by dxf_polyline_write().
DxfPolyline* dxf_polyline_set_x0 | ( | DxfPolyline * | polyline, |
double | x0 | ||
) |
Set the X-value of the insertion point x0
of a DXF POLYLINE
entity.
polyline
when successful, or NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
x0 | the X-value of the insertion point x0 of a DXF POLYLINE entity. |
Definition at line 2441 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_polyline_struct::p0, and dxf_point_struct::x0.
Referenced by dxf_polyline_init().
double dxf_polyline_get_y0 | ( | DxfPolyline * | polyline | ) |
Get the Y-value of the insertion point y0
of a DXF POLYLINE
entity.
y0
. polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 2483 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_polyline_struct::p0, and dxf_point_struct::y0.
Referenced by dxf_polyline_write().
DxfPolyline* dxf_polyline_set_y0 | ( | DxfPolyline * | polyline, |
double | y0 | ||
) |
Set the Y-value of the insertion point y0
of a DXF POLYLINE
entity.
polyline
when successful, or NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
y0 | the Y-value of the insertion point y0 of a DXF polyline entity. |
Definition at line 2523 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_polyline_struct::p0, and dxf_point_struct::y0.
Referenced by dxf_polyline_init().
double dxf_polyline_get_z0 | ( | DxfPolyline * | polyline | ) |
Get the Z-value of the insertion point z0
of a DXF POLYLINE
entity.
z0
. polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 2565 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_polyline_struct::p0, and dxf_point_struct::z0.
Referenced by dxf_polyline_write().
DxfPolyline* dxf_polyline_set_z0 | ( | DxfPolyline * | polyline, |
double | z0 | ||
) |
Set the Z-value of the insertion point z0
of a DXF POLYLINE
entity.
polyline
when successful, or NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
z0 | the Z-value of the insertion point z0 of a DXF polyline entity. |
Definition at line 2605 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_polyline_struct::p0, and dxf_point_struct::z0.
Referenced by dxf_polyline_init().
double dxf_polyline_get_start_width | ( | DxfPolyline * | polyline | ) |
Get the start_width
of a DXF POLYLINE
entity.
start_width
. polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 2646 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::start_width.
Referenced by dxf_polyline_write().
DxfPolyline* dxf_polyline_set_start_width | ( | DxfPolyline * | polyline, |
double | start_width | ||
) |
Set the start_width
of a DXF POLYLINE
entity.
polyline
when successful, or NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
start_width | the start_width of a DXF polyline entity. |
Definition at line 2684 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::start_width.
Referenced by dxf_polyline_init().
double dxf_polyline_get_end_width | ( | DxfPolyline * | polyline | ) |
Get the end_width
of a DXF POLYLINE
entity.
end_width
. polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 2723 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::end_width.
Referenced by dxf_polyline_write().
DxfPolyline* dxf_polyline_set_end_width | ( | DxfPolyline * | polyline, |
double | end_width | ||
) |
Set the end_width
of a DXF POLYLINE
entity.
polyline
when successful, or NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
end_width | the end_width of a DXF polyline entity. |
Definition at line 2761 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::end_width.
Referenced by dxf_polyline_init().
int dxf_polyline_get_vertices_follow | ( | DxfPolyline * | polyline | ) |
Get the vertices_follow
from a DXF POLYLINE
entity.
vertices_follow
. polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 2800 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::vertices_follow.
Referenced by dxf_polyline_write().
DxfPolyline* dxf_polyline_set_vertices_follow | ( | DxfPolyline * | polyline, |
int | vertices_follow | ||
) |
Set the vertices_follow
for a DXF POLYLINE
entity.
polyline
when sucessful, NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
vertices_follow | vertices_follow . |
Definition at line 2837 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::vertices_follow.
Referenced by dxf_polyline_init().
int dxf_polyline_get_flag | ( | DxfPolyline * | polyline | ) |
Get the flag
from a DXF POLYLINE
entity.
flag
. polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 2876 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::flag.
Referenced by dxf_polyline_write().
DxfPolyline* dxf_polyline_set_flag | ( | DxfPolyline * | polyline, |
int | flag | ||
) |
Set the flag
for a DXF POLYLINE
entity.
polyline
when sucessful, NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
flag | flag . |
Definition at line 2919 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::flag.
Referenced by dxf_polyline_init().
int dxf_polyline_get_polygon_mesh_M_vertex_count | ( | DxfPolyline * | polyline | ) |
Get the polygon_mesh_M_vertex_count
from a DXF POLYLINE
entity.
polygon_mesh_M_vertex_count
. polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 2964 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::polygon_mesh_M_vertex_count.
Referenced by dxf_polyline_write().
DxfPolyline* dxf_polyline_set_polygon_mesh_M_vertex_count | ( | DxfPolyline * | polyline, |
int | polygon_mesh_M_vertex_count | ||
) |
Set the polygon_mesh_M_vertex_count
for a DXF POLYLINE
entity.
polyline
when sucessful, NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
polygon_mesh_M_vertex_count | polygon_mesh_M_vertex_count . |
Definition at line 3002 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::polygon_mesh_M_vertex_count.
Referenced by dxf_polyline_init().
int dxf_polyline_get_polygon_mesh_N_vertex_count | ( | DxfPolyline * | polyline | ) |
Get the polygon_mesh_N_vertex_count
from a DXF POLYLINE
entity.
polygon_mesh_N_vertex_count
. polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 3041 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::polygon_mesh_N_vertex_count.
Referenced by dxf_polyline_write().
DxfPolyline* dxf_polyline_set_polygon_mesh_N_vertex_count | ( | DxfPolyline * | polyline, |
int | polygon_mesh_N_vertex_count | ||
) |
Set the polygon_mesh_N_vertex_count
for a DXF POLYLINE
entity.
polyline
when sucessful, NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
polygon_mesh_N_vertex_count | polygon_mesh_N_vertex_count . |
Definition at line 3079 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::polygon_mesh_N_vertex_count.
Referenced by dxf_polyline_init().
int dxf_polyline_get_smooth_M_surface_density | ( | DxfPolyline * | polyline | ) |
Get the smooth_M_surface_density
from a DXF POLYLINE
entity.
smooth_M_surface_density
. polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 3118 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::smooth_M_surface_density.
Referenced by dxf_polyline_write().
DxfPolyline* dxf_polyline_set_smooth_M_surface_density | ( | DxfPolyline * | polyline, |
int | smooth_M_surface_density | ||
) |
Set the smooth_M_surface_density
for a DXF POLYLINE
entity.
polyline
when sucessful, NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
smooth_M_surface_density | smooth_M_surface_density . |
Definition at line 3156 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::smooth_M_surface_density.
Referenced by dxf_polyline_init().
int dxf_polyline_get_smooth_N_surface_density | ( | DxfPolyline * | polyline | ) |
Get the smooth_N_surface_density
from a DXF POLYLINE
entity.
smooth_N_surface_density
. polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 3196 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::smooth_N_surface_density.
Referenced by dxf_polyline_write().
DxfPolyline* dxf_polyline_set_smooth_N_surface_density | ( | DxfPolyline * | polyline, |
int | smooth_N_surface_density | ||
) |
Set the smooth_N_surface_density
for a DXF POLYLINE
entity.
polyline
when sucessful, NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
smooth_N_surface_density | smooth_N_surface_density . |
Definition at line 3234 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::smooth_N_surface_density.
Referenced by dxf_polyline_init().
int dxf_polyline_get_surface_type | ( | DxfPolyline * | polyline | ) |
Get the surface_type
from a DXF POLYLINE
entity.
surface_type
. polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 3273 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::surface_type.
Referenced by dxf_polyline_write().
DxfPolyline* dxf_polyline_set_surface_type | ( | DxfPolyline * | polyline, |
int | surface_type | ||
) |
Set the surface_type
for a DXF POLYLINE
entity.
polyline
when sucessful, NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
surface_type | surface_type . |
Definition at line 3310 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::surface_type.
Referenced by dxf_polyline_init().
double dxf_polyline_get_extr_x0 | ( | DxfPolyline * | polyline | ) |
Get the X-value of the extrusion vector of a DXF POLYLINE
entity.
polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 3350 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::extr_x0.
Referenced by dxf_polyline_write().
DxfPolyline* dxf_polyline_set_extr_x0 | ( | DxfPolyline * | polyline, |
double | extr_x0 | ||
) |
Set the X-value of the extrusion vector of a DXF POLYLINE
entity.
POLYLINE
entity when successful, NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
extr_x0 | the X-value of the extrusion vector of a DXF POLYLINE entity. |
Definition at line 3383 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::extr_x0.
Referenced by dxf_polyline_init().
double dxf_polyline_get_extr_y0 | ( | DxfPolyline * | polyline | ) |
Get the Y-value of the extrusion vector of a DXF POLYLINE
entity.
polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 3418 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::extr_y0.
Referenced by dxf_polyline_write().
DxfPolyline* dxf_polyline_set_extr_y0 | ( | DxfPolyline * | polyline, |
double | extr_y0 | ||
) |
Set the Y-value of the extrusion vector of a DXF POLYLINE
entity.
POLYLINE
entity when successful, NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
extr_y0 | the Y-value of the extrusion vector of a DXF POLYLINE entity. |
Definition at line 3451 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::extr_y0.
Referenced by dxf_polyline_init().
double dxf_polyline_get_extr_z0 | ( | DxfPolyline * | polyline | ) |
Get the Z-value of the extrusion vector of a DXF POLYLINE
entity.
polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 3486 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::extr_z0.
Referenced by dxf_polyline_write().
DxfPolyline* dxf_polyline_set_extr_z0 | ( | DxfPolyline * | polyline, |
double | extr_z0 | ||
) |
Set the Z-value of the extrusion vector of a DXF POLYLINE
entity.
POLYLINE
entity when successful, NULL
when an error occurred. polyline | a pointer to a DXF POLYLINE entity. |
extr_z0 | the Z-value of the extrusion vector of a DXF POLYLINE entity. |
Definition at line 3519 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::extr_z0.
Referenced by dxf_polyline_init().
DxfVertex* dxf_polyline_get_vertices | ( | DxfPolyline * | polyline | ) |
Get the pointer to the first vertex of a linked list of vertices
from a DXF POLYLINE
entity.
vertices
.polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 3556 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::vertices.
Referenced by dxf_polyline_free(), dxf_polyline_init(), and dxf_polyline_write().
DxfPolyline* dxf_polyline_set_vertices | ( | DxfPolyline * | polyline, |
DxfVertex * | vertices | ||
) |
Set the pointer to the first vertex of a linked list of vertices
for a DXF POLYLINE
entity.
polyline | a pointer to a DXF POLYLINE entity. |
vertices | a pointer to the first vertex of a linked list of vertices . |
Definition at line 3592 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::vertices.
Referenced by dxf_polyline_init().
DxfPolyline* dxf_polyline_get_next | ( | DxfPolyline * | polyline | ) |
Get the pointer to the next POLYLINE
entity from a DXF POLYLINE
entity.
POLYLINE
entity.polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 3636 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::next.
DxfPolyline* dxf_polyline_set_next | ( | DxfPolyline * | polyline, |
DxfPolyline * | next | ||
) |
Set the pointer to the next POLYLINE
for a DXF POLYLINE
entity.
polyline | a pointer to a DXF POLYLINE entity. |
next | a pointer to the next POLYLINE for the entity. |
Definition at line 3672 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::next.
Referenced by dxf_polyline_init().
DxfPolyline* dxf_polyline_get_last | ( | DxfPolyline * | polyline | ) |
Get the pointer to the last POLYLINE
entity from a linked list of DXF POLYLINE
entities.
POLYLINE
entity.polyline | a pointer to a DXF POLYLINE entity. |
Definition at line 3715 of file polyline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_polyline_struct::next.