![]() |
libDXF 0.0.1
A library with DXF related functions written in C.
|
Header file for a DXF spline entity (SPLINE).
More...


Go to the source code of this file.
Data Structures | |
| struct | dxf_spline_struct |
Definition of an AutoCAD spline entity (SPLINE). More... | |
Defines | |
| #define | DXF_SPLINE_KNOT_TOLERANCE_DEFAULT 0.0000001 |
| #define | DXF_SPLINE_CONTROL_POINT_TOLERANCE_DEFAULT 0.0000001 |
| #define | DXF_SPLINE_FIT_TOLERANCE_DEFAULT 0.0000000001 |
Typedefs | |
| typedef struct dxf_spline_struct | DxfSpline |
Definition of an AutoCAD spline entity (SPLINE). | |
Functions | |
| DxfSpline * | dxf_spline_new () |
Allocate memory for a DXF SPLINE. | |
| DxfSpline * | dxf_spline_init (DxfSpline *spline) |
Allocate memory and initialize data fields in a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_read (DxfFile *fp, DxfSpline *spline) |
Read data from a DXF file into a DXF SPLINE entity. | |
| int | dxf_spline_write (DxfFile *fp, DxfSpline *spline) |
Write DXF output for a DXF SPLINE entity. | |
| int | dxf_spline_free (DxfSpline *spline) |
Free the allocated memory for a DXF SPLINE and all it's data fields. | |
| void | dxf_spline_free_chain (DxfSpline *splines) |
Free the allocated memory for a chain of DXF SPLINE entities and all their data fields. | |
| int | dxf_spline_get_id_code (DxfSpline *spline) |
Get the id_code from a DXF SPLINE. | |
| DxfSpline * | dxf_spline_set_id_code (DxfSpline *spline, int id_code) |
Set the ID code for a DXF SPLINE entity. | |
| char * | dxf_spline_get_linetype (DxfSpline *spline) |
Get the linetype from a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_linetype (DxfSpline *spline, char *linetype) |
Set the linetype for a DXF SPLINE entity. | |
| char * | dxf_spline_get_layer (DxfSpline *spline) |
Get the layer from a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_layer (DxfSpline *spline, char *layer) |
Set the layer for a DXF SPLINE entity. | |
| double | dxf_spline_get_elevation (DxfSpline *spline) |
Get the elevation from a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_elevation (DxfSpline *spline, double elevation) |
Set the elevation for a DXF SPLINE entity. | |
| double | dxf_spline_get_thickness (DxfSpline *spline) |
Get the thickness from a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_thickness (DxfSpline *spline, double thickness) |
Set the thickness for a DXF SPLINE entity. | |
| double | dxf_spline_get_linetype_scale (DxfSpline *spline) |
Get the linetype_scale from a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_linetype_scale (DxfSpline *spline, double linetype_scale) |
Set the linetype_scale for a DXF SPLINE entity. | |
| int16_t | dxf_spline_get_visibility (DxfSpline *spline) |
Get the visibility from a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_visibility (DxfSpline *spline, int16_t visibility) |
Set the visibility for a DXF SPLINE entity. | |
| int | dxf_spline_get_color (DxfSpline *spline) |
Get the color from a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_color (DxfSpline *spline, int color) |
Set the color for a DXF SPLINE entity. | |
| int | dxf_spline_get_paperspace (DxfSpline *spline) |
Get the paperspace flag value from a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_paperspace (DxfSpline *spline, int paperspace) |
Set the paperspace flag for a DXF SPLINE entity. | |
| int | dxf_spline_get_graphics_data_size (DxfSpline *spline) |
Get the graphics_data_size value from a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_graphics_data_size (DxfSpline *spline, int graphics_data_size) |
Set the graphics_data_size value for a DXF SPLINE entity. | |
| int16_t | dxf_spline_get_shadow_mode (DxfSpline *spline) |
Get the shadow_mode from a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_shadow_mode (DxfSpline *spline, int16_t shadow_mode) |
Set the shadow_mode for a DXF SPLINE entity. | |
| DxfBinaryGraphicsData * | dxf_spline_get_binary_graphics_data (DxfSpline *spline) |
Get the pointer to the binary_graphics_data from a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_binary_graphics_data (DxfSpline *spline, DxfBinaryGraphicsData *data) |
Set the pointer to the binary_graphics_data for a DXF SPLINE entity. | |
| char * | dxf_spline_get_dictionary_owner_soft (DxfSpline *spline) |
Get the pointer to the dictionary_owner_soft from a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_dictionary_owner_soft (DxfSpline *spline, char *dictionary_owner_soft) |
Set the pointer to the dictionary_owner_soft for a DXF SPLINE entity. | |
| char * | dxf_spline_get_material (DxfSpline *spline) |
Get the pointer to the material from a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_material (DxfSpline *spline, char *material) |
Set the pointer to the material for a DXF SPLINE entity. | |
| char * | dxf_spline_get_dictionary_owner_hard (DxfSpline *spline) |
Get the pointer to the dictionary_owner_hard from a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_dictionary_owner_hard (DxfSpline *spline, char *dictionary_owner_hard) |
Set the pointer to the dictionary_owner_hard for a DXF SPLINE entity. | |
| int16_t | dxf_spline_get_lineweight (DxfSpline *spline) |
Get the lineweight from a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_lineweight (DxfSpline *spline, int16_t lineweight) |
Set the lineweight for a DXF SPLINE entity. | |
| char * | dxf_spline_get_plot_style_name (DxfSpline *spline) |
Get the plot_style_name from a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_plot_style_name (DxfSpline *spline, char *plot_style_name) |
Set the plot_style_name for a DXF SPLINE entity. | |
| long | dxf_spline_get_color_value (DxfSpline *spline) |
Get the color_value from a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_color_value (DxfSpline *spline, long color_value) |
Set the color_value for a DXF SPLINE entity. | |
| char * | dxf_spline_get_color_name (DxfSpline *spline) |
Get the color_name from a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_color_name (DxfSpline *spline, char *color_name) |
Set the color_name for a DXF SPLINE entity. | |
| long | dxf_spline_get_transparency (DxfSpline *spline) |
Get the transparency from a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_transparency (DxfSpline *spline, long transparency) |
Set the transparency for a DXF SPLINE entity. | |
| DxfPoint * | dxf_spline_get_p0 (DxfSpline *spline) |
Get the first control point p0 from a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_p0 (DxfSpline *spline, DxfPoint *p0) |
Set the first control point p0 for a DXF SPLINE entity. | |
| double | dxf_spline_get_x0 (DxfSpline *spline) |
Get the X-value x0 of the first control point p0 of a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_x0 (DxfSpline *spline, double x0) |
Set the X-value x0 of the first control point p0 of a DXF SPLINE entity. | |
| double | dxf_spline_get_y0 (DxfSpline *spline) |
Get the Y-value y0 of the first control point p0 of a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_y0 (DxfSpline *spline, double y0) |
Set the Y-value y0 of the first control point p0 of a DXF SPLINE entity. | |
| double | dxf_spline_get_z0 (DxfSpline *spline) |
Get the Z-value z0 of the first control point p0 of a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_z0 (DxfSpline *spline, double z0) |
Set the Z-value z0 of the first control point p0 of a DXF SPLINE entity. | |
| DxfPoint * | dxf_spline_get_p1 (DxfSpline *spline) |
Get the first fit point p1 from a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_p1 (DxfSpline *spline, DxfPoint *p1) |
Set the first fit point p1 for a DXF SPLINE entity. | |
| double | dxf_spline_get_x1 (DxfSpline *spline) |
Get the X-value x1 of the (first) fit point p1 of a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_x1 (DxfSpline *spline, double x1) |
Set the X-value x1 of the (first) fit point p1 of a DXF SPLINE entity. | |
| double | dxf_spline_get_y1 (DxfSpline *spline) |
Get the Y-value y1 of the (first) fit point p1 of a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_y1 (DxfSpline *spline, double y1) |
Set the Y-value y1 of the (first) fit point p1 of a DXF SPLINE entity. | |
| double | dxf_spline_get_z1 (DxfSpline *spline) |
Get the Z-value zy1 of the (first) fit point p1 of a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_z1 (DxfSpline *spline, double z1) |
Set the Z-value z1 of the (first) fit point p1 of a DXF SPLINE entity. | |
| DxfPoint * | dxf_spline_get_p2 (DxfSpline *spline) |
Get the start tangent point p2 from a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_p2 (DxfSpline *spline, DxfPoint *p2) |
Set the start tangent point p2 for a DXF SPLINE entity. | |
| double | dxf_spline_get_x2 (DxfSpline *spline) |
Get the X-value x2 of the start tangent point p2 of a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_x2 (DxfSpline *spline, double x2) |
Set the X-value x2 of the start tangent point p2 of a DXF SPLINE entity. | |
| double | dxf_spline_get_y2 (DxfSpline *spline) |
Get the Y-value y2 of the start tangent point p2 of a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_y2 (DxfSpline *spline, double y2) |
Set the Y-value y2 of the start tangent point p2 of a DXF SPLINE entity. | |
| double | dxf_spline_get_z2 (DxfSpline *spline) |
Get the Z-value z2 of the start tangent point p2 of a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_z2 (DxfSpline *spline, double z2) |
Set the Z-value z2 of the start tangent point p2 of a DXF SPLINE entity. | |
| DxfPoint * | dxf_spline_get_p3 (DxfSpline *spline) |
Get the end tangent point p3 from a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_p3 (DxfSpline *spline, DxfPoint *p3) |
Set the end tangent point p3 for a DXF SPLINE entity. | |
| double | dxf_spline_get_x3 (DxfSpline *spline) |
Get the X-value x3 of the end tangent point p3 of a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_x3 (DxfSpline *spline, double x3) |
Set the X-value x3 of the end tangent point p3 of a DXF SPLINE entity. | |
| double | dxf_spline_get_y3 (DxfSpline *spline) |
Get the Y-value y3 of the end tangent point p3 of a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_y3 (DxfSpline *spline, double y3) |
Set the Y-value y3 of the end tangent point p3 of a DXF SPLINE entity. | |
| double | dxf_spline_get_z3 (DxfSpline *spline) |
Get the Z-value z3 of the end tangent point p3 of a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_z3 (DxfSpline *spline, double z3) |
Set the Z-value z3 of the end tangent point p3 of a DXF SPLINE entity. | |
| double | dxf_spline_get_knot_tolerance (DxfSpline *spline) |
Get the knot_tolerance of a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_knot_tolerance (DxfSpline *spline, double knot_tolerance) |
Set the knot_tolerance of a DXF SPLINE entity. | |
| double | dxf_spline_get_control_point_tolerance (DxfSpline *spline) |
Get the control_point_tolerance of a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_control_point_tolerance (DxfSpline *spline, double control_point_tolerance) |
Set the control_point_tolerance of a DXF SPLINE entity. | |
| double | dxf_spline_get_fit_tolerance (DxfSpline *spline) |
Get the fit_tolerance of a DXF SPLINE entity. | |
| DxfSpline * | dxf_spline_set_fit_tolerance (DxfSpline *spline, double fit_tolerance) |
Set the fit_tolerance of a DXF SPLINE entity. | |
| int | dxf_spline_get_flag (DxfSpline *spline) |
Get the flag from a DXF SPLINE. | |
Header file for a DXF spline entity (SPLINE).
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 spline.h.
| #define DXF_SPLINE_KNOT_TOLERANCE_DEFAULT 0.0000001 |
Definition at line 57 of file spline.h.
Referenced by dxf_spline_init().
| #define DXF_SPLINE_CONTROL_POINT_TOLERANCE_DEFAULT 0.0000001 |
Definition at line 58 of file spline.h.
Referenced by dxf_spline_init().
| #define DXF_SPLINE_FIT_TOLERANCE_DEFAULT 0.0000000001 |
Definition at line 59 of file spline.h.
Referenced by dxf_spline_init().
| typedef struct dxf_spline_struct DxfSpline |
Definition of an AutoCAD spline entity (SPLINE).
| DxfSpline* dxf_spline_new | ( | ) |
Allocate memory for a DXF SPLINE.
Fill the memory contents with zeros.
NULL when no memory was allocated, a pointer to the allocated memory when succesful. Definition at line 245 of file spline.c.
References _, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_spline_init(), and dxf_spline_read().
Allocate memory and initialize data fields in a DXF SPLINE entity.
NULL when no memory was allocated, a pointer to the allocated memory when succesful. | spline | a pointer to the DXF SPLINE entity. |
Definition at line 283 of file spline.c.
References _, dxf_spline_struct::binary_graphics_data, dxf_spline_struct::color, dxf_spline_struct::color_name, dxf_spline_struct::color_value, dxf_spline_struct::control_point_tolerance, dxf_spline_struct::degree, dxf_spline_struct::dictionary_owner_hard, dxf_spline_struct::dictionary_owner_soft, dxf_binary_graphics_data_init(), DXF_COLOR_BYLAYER, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_DEFAULT_LAYER, DXF_DEFAULT_LINETYPE, dxf_double_init(), dxf_double_new(), DXF_MODELSPACE, dxf_point_init(), dxf_point_new(), DXF_SPLINE_CONTROL_POINT_TOLERANCE_DEFAULT, DXF_SPLINE_FIT_TOLERANCE_DEFAULT, DXF_SPLINE_KNOT_TOLERANCE_DEFAULT, dxf_spline_new(), dxf_spline_struct::elevation, dxf_spline_struct::extr_x0, dxf_spline_struct::extr_y0, dxf_spline_struct::extr_z0, dxf_spline_struct::fit_tolerance, dxf_spline_struct::flag, dxf_spline_struct::graphics_data_size, dxf_spline_struct::id_code, dxf_spline_struct::knot_tolerance, dxf_spline_struct::knot_value, dxf_spline_struct::layer, dxf_spline_struct::linetype, dxf_spline_struct::linetype_scale, dxf_spline_struct::lineweight, dxf_spline_struct::material, dxf_spline_struct::next, dxf_spline_struct::number_of_control_points, dxf_spline_struct::number_of_fit_points, dxf_spline_struct::number_of_knots, dxf_spline_struct::p0, dxf_spline_struct::p1, dxf_spline_struct::p2, dxf_spline_struct::p3, dxf_spline_struct::paperspace, dxf_spline_struct::plot_style_name, dxf_spline_struct::shadow_mode, dxf_spline_struct::thickness, dxf_spline_struct::transparency, dxf_double_struct::value, dxf_spline_struct::visibility, and dxf_spline_struct::weight_value.
Referenced by dxf_helix_init(), and dxf_spline_read().

Read data from a DXF file into a DXF SPLINE entity.
The last line read from file contained the string "SPLINE".
Now follows some data for the SPLINE, 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 spline.
spline, or NULL when an error occurred. | fp | DXF file pointer to an input file (or device). |
| spline | a pointer to the DXF SPLINE entity. |
Definition at line 372 of file spline.c.
References _, dxf_file_struct::acad_version_number, AutoCAD_11, dxf_spline_struct::binary_graphics_data, dxf_spline_struct::color, dxf_spline_struct::color_name, dxf_spline_struct::color_value, dxf_spline_struct::control_point_tolerance, dxf_binary_graphics_data_struct::data_line, dxf_spline_struct::degree, dxf_spline_struct::dictionary_owner_hard, dxf_spline_struct::dictionary_owner_soft, dxf_binary_graphics_data_init(), DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_DEFAULT_LAYER, DXF_DEFAULT_LINETYPE, dxf_double_init(), dxf_point_init(), dxf_spline_init(), dxf_spline_new(), dxf_spline_struct::elevation, dxf_file_struct::filename, dxf_spline_struct::fit_tolerance, dxf_spline_struct::flag, dxf_file_struct::fp, dxf_spline_struct::graphics_data_size, dxf_spline_struct::id_code, dxf_spline_struct::knot_tolerance, dxf_spline_struct::knot_value, dxf_spline_struct::layer, dxf_file_struct::line_number, dxf_spline_struct::linetype, dxf_spline_struct::linetype_scale, dxf_spline_struct::lineweight, dxf_spline_struct::material, dxf_binary_graphics_data_struct::next, dxf_double_struct::next, dxf_point_struct::next, dxf_spline_struct::number_of_control_points, dxf_spline_struct::number_of_fit_points, dxf_spline_struct::number_of_knots, dxf_spline_struct::p0, dxf_spline_struct::p1, dxf_spline_struct::p2, dxf_spline_struct::p3, dxf_spline_struct::paperspace, dxf_spline_struct::plot_style_name, dxf_spline_struct::shadow_mode, dxf_spline_struct::thickness, dxf_spline_struct::transparency, dxf_double_struct::value, dxf_spline_struct::visibility, dxf_spline_struct::weight_value, dxf_point_struct::x0, dxf_point_struct::y0, and dxf_point_struct::z0.
Referenced by dxf_helix_read().

Write DXF output for a DXF SPLINE entity.
EXIT_SUCCESS when done, or EXIT_FAILURE when an error occurred. | fp | DXF file pointer to an output file (or device). |
| spline | a pointer to the DXF SPLINE entity. |
Definition at line 774 of file spline.c.
References _, dxf_file_struct::acad_version_number, AutoCAD_11, AutoCAD_12, AutoCAD_13, AutoCAD_14, AutoCAD_2007, dxf_spline_struct::binary_graphics_data, dxf_spline_struct::color, dxf_spline_struct::color_name, dxf_spline_struct::color_value, dxf_spline_struct::control_point_tolerance, dxf_binary_graphics_data_struct::data_line, dxf_spline_struct::degree, dxf_spline_struct::dictionary_owner_hard, dxf_spline_struct::dictionary_owner_soft, dxf_binary_graphics_data_get_next(), DXF_COLOR_BYLAYER, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_DEFAULT_LAYER, DXF_DEFAULT_LINETYPE, DXF_FLATLAND, DXF_MODELSPACE, DXF_PAPERSPACE, dxf_point_get_next(), dxf_spline_struct::elevation, dxf_spline_struct::extr_x0, dxf_spline_struct::extr_y0, dxf_spline_struct::extr_z0, dxf_spline_struct::flag, dxf_file_struct::fp, dxf_spline_struct::graphics_data_size, dxf_spline_struct::id_code, dxf_spline_struct::knot_tolerance, dxf_spline_struct::knot_value, dxf_spline_struct::layer, dxf_spline_struct::linetype, dxf_spline_struct::linetype_scale, dxf_spline_struct::lineweight, dxf_spline_struct::material, dxf_spline_struct::number_of_control_points, dxf_spline_struct::number_of_fit_points, dxf_spline_struct::number_of_knots, dxf_spline_struct::p0, dxf_spline_struct::p1, dxf_spline_struct::p2, dxf_spline_struct::p3, dxf_spline_struct::paperspace, dxf_spline_struct::plot_style_name, dxf_spline_struct::shadow_mode, dxf_spline_struct::thickness, dxf_spline_struct::transparency, dxf_double_struct::value, dxf_spline_struct::visibility, dxf_spline_struct::weight_value, dxf_point_struct::x0, dxf_point_struct::y0, and dxf_point_struct::z0.

| int dxf_spline_free | ( | DxfSpline * | spline | ) |
Free the allocated memory for a DXF SPLINE and all it's data fields.
EXIT_SUCCESS when done, or EXIT_FAILURE when an error occurred. | spline | a pointer to the memory occupied by the DXF SPLINE entity. |
Definition at line 992 of file spline.c.
References _, dxf_spline_struct::binary_graphics_data, dxf_spline_struct::color_name, dxf_spline_struct::dictionary_owner_hard, dxf_spline_struct::dictionary_owner_soft, dxf_binary_graphics_data_free_chain(), DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_double_free_chain(), dxf_point_free(), dxf_point_free_chain(), dxf_spline_struct::knot_value, dxf_spline_struct::layer, dxf_spline_struct::linetype, dxf_spline_struct::material, dxf_spline_struct::next, dxf_spline_struct::p0, dxf_spline_struct::p1, dxf_spline_struct::p2, dxf_spline_struct::p3, dxf_spline_struct::plot_style_name, and dxf_spline_struct::weight_value.
Referenced by dxf_spline_free_chain().

| void dxf_spline_free_chain | ( | DxfSpline * | splines | ) |
Free the allocated memory for a chain of DXF SPLINE entities and all their data fields.
| splines | a pointer to the chain of DXF SPLINE entities. |
Definition at line 1045 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_spline_free(), and dxf_spline_struct::next.

| int dxf_spline_get_id_code | ( | DxfSpline * | spline | ) |
Get the id_code from a DXF SPLINE.
id_code when successful, or EXIT_FAILURE when an error occurred. | spline | a pointer to a DXF SPLINE. |
Definition at line 1079 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::id_code.
Set the ID code for a DXF SPLINE entity.
spline when successful or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| id_code | Identification number for the entity. This is to be an unique (sequential) number in the DXF file. |
Definition at line 1116 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::id_code.
| char* dxf_spline_get_linetype | ( | DxfSpline * | spline | ) |
Get the linetype from a DXF SPLINE entity.
linetype when sucessful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 1158 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::linetype.
Set the linetype for a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| linetype | a string containing the linetype for the entity. |
Definition at line 1196 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::linetype.
| char* dxf_spline_get_layer | ( | DxfSpline * | spline | ) |
Get the layer from a DXF SPLINE entity.
layer when sucessful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 1236 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::layer.
Set the layer for a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| layer | a string containing the layer for the entity. |
Definition at line 1274 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::layer.
| double dxf_spline_get_elevation | ( | DxfSpline * | spline | ) |
Get the elevation from a DXF SPLINE entity.
elevation when successful, or EXIT_FAILURE when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 1315 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::elevation.
Set the elevation for a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| elevation | the elevation to be set for the entity. |
Definition at line 1346 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::elevation.
| double dxf_spline_get_thickness | ( | DxfSpline * | spline | ) |
Get the thickness from a DXF SPLINE entity.
thickness when successful, or EXIT_FAILURE when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 1380 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::thickness.
Set the thickness for a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| thickness | the thickness to be set for the entity. |
Definition at line 1417 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::thickness.
| double dxf_spline_get_linetype_scale | ( | DxfSpline * | spline | ) |
Get the linetype_scale from a DXF SPLINE entity.
linetype_scale when successful, or EXIT_FAILURE when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 1457 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::linetype_scale.
Set the linetype_scale for a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| linetype_scale | the linetype_scale to be set for the entity. |
Definition at line 1495 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::linetype_scale.
| int16_t dxf_spline_get_visibility | ( | DxfSpline * | spline | ) |
Get the visibility from a DXF SPLINE entity.
visibility when successful, or EXIT_FAILURE when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 1536 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::visibility.
Set the visibility for a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| visibility | the visibility to be set for the entity. |
Definition at line 1581 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::visibility.
| int dxf_spline_get_color | ( | DxfSpline * | spline | ) |
Get the color from a DXF SPLINE entity.
color when successful, or EXIT_FAILURE when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 1629 of file spline.c.
References _, dxf_spline_struct::color, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Set the color for a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| color | the color to be set for the entity. |
Definition at line 1666 of file spline.c.
References _, dxf_spline_struct::color, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
| int dxf_spline_get_paperspace | ( | DxfSpline * | spline | ) |
Get the paperspace flag value from a DXF SPLINE entity.
paperspace flag value when successful, or EXIT_FAILURE when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 1708 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::paperspace.
Set the paperspace flag for a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| paperspace | the paperspace flag value to be set for the entity. |
Definition at line 1751 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::paperspace.
| int dxf_spline_get_graphics_data_size | ( | DxfSpline * | spline | ) |
Get the graphics_data_size value from a DXF SPLINE entity.
graphics_data_size flag value when successful, or EXIT_FAILURE when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 1800 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::graphics_data_size.
Set the graphics_data_size value for a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| graphics_data_size | the graphics_data_size value to be set for the entity. |
Definition at line 1843 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::graphics_data_size.
| int16_t dxf_spline_get_shadow_mode | ( | DxfSpline * | spline | ) |
Get the shadow_mode from a DXF SPLINE entity.
shadow_mode when successful, or EXIT_FAILURE when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 1892 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::shadow_mode.
Set the shadow_mode for a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| shadow_mode | the shadow mode to be set for the entity. |
Definition at line 1937 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::shadow_mode.
| DxfBinaryGraphicsData* dxf_spline_get_binary_graphics_data | ( | DxfSpline * | spline | ) |
Get the pointer to the binary_graphics_data from a DXF SPLINE entity.
binary_graphics_data when successful, or NULL when an error occurred.| spline | a pointer to a DXF SPLINE entity. |
Definition at line 1988 of file spline.c.
References _, dxf_spline_struct::binary_graphics_data, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
| DxfSpline* dxf_spline_set_binary_graphics_data | ( | DxfSpline * | spline, |
| DxfBinaryGraphicsData * | data | ||
| ) |
Set the pointer to the binary_graphics_data for a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| data | a string containing the pointer to the binary_graphics_data for the entity. |
Definition at line 2027 of file spline.c.
References _, dxf_spline_struct::binary_graphics_data, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
| char* dxf_spline_get_dictionary_owner_soft | ( | DxfSpline * | spline | ) |
Get the pointer to the dictionary_owner_soft from a DXF SPLINE entity.
dictionary_owner_soft when successful, or NULL when an error occurred.| spline | a pointer to a DXF SPLINE entity. |
Definition at line 2072 of file spline.c.
References _, dxf_spline_struct::dictionary_owner_soft, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
| DxfSpline* dxf_spline_set_dictionary_owner_soft | ( | DxfSpline * | spline, |
| char * | dictionary_owner_soft | ||
| ) |
Set the pointer to the dictionary_owner_soft for a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| dictionary_owner_soft | a string containing the pointer to the dictionary_owner_soft for the entity. |
Definition at line 2111 of file spline.c.
References _, dxf_spline_struct::dictionary_owner_soft, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
| char* dxf_spline_get_material | ( | DxfSpline * | spline | ) |
Get the pointer to the material from a DXF SPLINE entity.
material when successful, or NULL when an error occurred.| spline | a pointer to a DXF SPLINE entity. |
Definition at line 2155 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::material.
Set the pointer to the material for a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| material | a string containing the pointer to the material for the entity. |
Definition at line 2193 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::material.
| char* dxf_spline_get_dictionary_owner_hard | ( | DxfSpline * | spline | ) |
Get the pointer to the dictionary_owner_hard from a DXF SPLINE entity.
dictionary_owner_hard when successful, or NULL when an error occurred.| spline | a pointer to a DXF SPLINE entity. |
Definition at line 2238 of file spline.c.
References _, dxf_spline_struct::dictionary_owner_hard, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
| DxfSpline* dxf_spline_set_dictionary_owner_hard | ( | DxfSpline * | spline, |
| char * | dictionary_owner_hard | ||
| ) |
Set the pointer to the dictionary_owner_hard for a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| dictionary_owner_hard | a string containing the pointer to the dictionary_owner_hard for the entity. |
Definition at line 2277 of file spline.c.
References _, dxf_spline_struct::dictionary_owner_hard, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
| int16_t dxf_spline_get_lineweight | ( | DxfSpline * | spline | ) |
Get the lineweight from a DXF SPLINE entity.
lineweight when successful, or EXIT_FAILURE when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 2319 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::lineweight.
Set the lineweight for a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| lineweight | the lineweight to be set for the entity. |
Definition at line 2350 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::lineweight.
| char* dxf_spline_get_plot_style_name | ( | DxfSpline * | spline | ) |
Get the plot_style_name from a DXF SPLINE entity.
plot_style_name when sucessful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 2384 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::plot_style_name.
Set the plot_style_name for a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| plot_style_name | a string containing the plot_style_name for the entity. |
Definition at line 2422 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::plot_style_name.
| long dxf_spline_get_color_value | ( | DxfSpline * | spline | ) |
Get the color_value from a DXF SPLINE entity.
color_value when successful, or EXIT_FAILURE when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 2464 of file spline.c.
References _, dxf_spline_struct::color_value, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Set the color_value for a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| color_value | the color_value to be set for the entity. |
Definition at line 2495 of file spline.c.
References _, dxf_spline_struct::color_value, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
| char* dxf_spline_get_color_name | ( | DxfSpline * | spline | ) |
Get the color_name from a DXF SPLINE entity.
color_name when sucessful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 2529 of file spline.c.
References _, dxf_spline_struct::color_name, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Set the color_name for a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| color_name | a string containing the color_name for the entity. |
Definition at line 2567 of file spline.c.
References _, dxf_spline_struct::color_name, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
| long dxf_spline_get_transparency | ( | DxfSpline * | spline | ) |
Get the transparency from a DXF SPLINE entity.
transparency when successful, or EXIT_FAILURE when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 2609 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::transparency.
Set the transparency for a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| transparency | the transparency to be set for the entity. |
Definition at line 2640 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::transparency.
Get the first control point p0 from a DXF SPLINE entity.
p0 is the first control point in a single linked list.
p0 when sucessful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 2676 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::p0.
Set the first control point p0 for a DXF SPLINE entity.
p0 is the first control point in a single linked list.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| p0 | a control point p0 (multiple entries) for the entity. |
Definition at line 2716 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::p0.
| double dxf_spline_get_x0 | ( | DxfSpline * | spline | ) |
Get the X-value x0 of the first control point p0 of a DXF SPLINE entity.
x0 of the first control point p0. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 2758 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_spline_struct::p0, and dxf_point_struct::x0.
Set the X-value x0 of the first control point p0 of a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| x0 | the X-value x0 of the first control point p0 to be set for a DXF SPLINE entity. |
Definition at line 2798 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_spline_struct::p0, and dxf_point_struct::x0.
| double dxf_spline_get_y0 | ( | DxfSpline * | spline | ) |
Get the Y-value y0 of the first control point p0 of a DXF SPLINE entity.
y0 of the first control point p0. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 2840 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_spline_struct::p0, and dxf_point_struct::y0.
Set the Y-value y0 of the first control point p0 of a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| y0 | the Y-value y0 of the first control point p0 to be set for a DXF SPLINE entity. |
Definition at line 2880 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_spline_struct::p0, and dxf_point_struct::y0.
| double dxf_spline_get_z0 | ( | DxfSpline * | spline | ) |
Get the Z-value z0 of the first control point p0 of a DXF SPLINE entity.
z0 of the first control point p0. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 2922 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_spline_struct::p0, and dxf_point_struct::z0.
Set the Z-value z0 of the first control point p0 of a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| z0 | the Z-value z0 of the first control point p0 to be set for a DXF SPLINE entity. |
Definition at line 2962 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_spline_struct::p0, and dxf_point_struct::z0.
Get the first fit point p1 from a DXF SPLINE entity.
p1 is the first fit point in a single linked list.
p1 when sucessful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 3006 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::p1.
Set the first fit point p1 for a DXF SPLINE entity.
p1 is the first fit point in a single linked list.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| p1 | a fit point p0 (multiple entries) for the entity. |
Definition at line 3046 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::p1.
| double dxf_spline_get_x1 | ( | DxfSpline * | spline | ) |
Get the X-value x1 of the (first) fit point p1 of a DXF SPLINE entity.
x1 of the (first) fit point p1. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 3088 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_spline_struct::p1, and dxf_point_struct::x0.
Set the X-value x1 of the (first) fit point p1 of a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| x1 | the X-value x1 of the (first) fit point p1 to be set for a DXF SPLINE entity. |
Definition at line 3128 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_spline_struct::p1, and dxf_point_struct::x0.
| double dxf_spline_get_y1 | ( | DxfSpline * | spline | ) |
Get the Y-value y1 of the (first) fit point p1 of a DXF SPLINE entity.
y1 of the (first) fit point p1. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 3170 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_spline_struct::p1, and dxf_point_struct::y0.
Set the Y-value y1 of the (first) fit point p1 of a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| y1 | the Y-value y1 of the (first) fit point p1 to be set for a DXF SPLINE entity. |
Definition at line 3210 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_spline_struct::p1, and dxf_point_struct::y0.
| double dxf_spline_get_z1 | ( | DxfSpline * | spline | ) |
Get the Z-value zy1 of the (first) fit point p1 of a DXF SPLINE entity.
z1 of the (first) fit point p1. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 3252 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_spline_struct::p1, and dxf_point_struct::z0.
Set the Z-value z1 of the (first) fit point p1 of a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| z1 | the Z-value z1 of the (first) fit point p1 to be set for a DXF SPLINE entity. |
Definition at line 3292 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_spline_struct::p1, and dxf_point_struct::z0.
Get the start tangent point p2 from a DXF SPLINE entity.
p2 when sucessful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 3334 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::p2.
Set the start tangent point p2 for a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| p2 | a start tangent point p2 for the entity. |
Definition at line 3372 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::p2.
| double dxf_spline_get_x2 | ( | DxfSpline * | spline | ) |
Get the X-value x2 of the start tangent point p2 of a DXF SPLINE entity.
x2 of the start tangent point p2. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 3413 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_spline_struct::p2, and dxf_point_struct::x0.
Set the X-value x2 of the start tangent point p2 of a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| x2 | the X-value x2 of the start tangent point p2 to be set for a DXF SPLINE entity. |
Definition at line 3453 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_spline_struct::p2, and dxf_point_struct::x0.
| double dxf_spline_get_y2 | ( | DxfSpline * | spline | ) |
Get the Y-value y2 of the start tangent point p2 of a DXF SPLINE entity.
y2 of the start tangent point p2. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 3495 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_spline_struct::p2, and dxf_point_struct::y0.
Set the Y-value y2 of the start tangent point p2 of a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| y2 | the Y-value y2 of the start tangent point p2 to be set for a DXF SPLINE entity. |
Definition at line 3535 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_spline_struct::p2, and dxf_point_struct::y0.
| double dxf_spline_get_z2 | ( | DxfSpline * | spline | ) |
Get the Z-value z2 of the start tangent point p2 of a DXF SPLINE entity.
z2 of the start tangent point p2. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 3577 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_spline_struct::p2, and dxf_point_struct::z0.
Set the Z-value z2 of the start tangent point p2 of a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| z2 | the Z-value z2 of the start tangent point p2 to be set for a DXF SPLINE entity. |
Definition at line 3617 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_spline_struct::p2, and dxf_point_struct::z0.
Get the end tangent point p3 from a DXF SPLINE entity.
p3 when sucessful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 3659 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::p3.
Set the end tangent point p3 for a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| p3 | a end tangent point p3 for the entity. |
Definition at line 3697 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::p3.
| double dxf_spline_get_x3 | ( | DxfSpline * | spline | ) |
Get the X-value x3 of the end tangent point p3 of a DXF SPLINE entity.
x3 of the end tangent point p3. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 3738 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_spline_struct::p3, and dxf_point_struct::x0.
Set the X-value x3 of the end tangent point p3 of a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| x3 | the X-value x3 of the end tangent point p3 to be set for a DXF SPLINE entity. |
Definition at line 3778 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_spline_struct::p3, and dxf_point_struct::x0.
| double dxf_spline_get_y3 | ( | DxfSpline * | spline | ) |
Get the Y-value y3 of the end tangent point p3 of a DXF SPLINE entity.
y3 of the end tangent point p3. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 3820 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_spline_struct::p3, and dxf_point_struct::y0.
Set the Y-value y3 of the end tangent point p3 of a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| y3 | the Y-value y3 of the end tangent point p3 to be set for a DXF SPLINE entity. |
Definition at line 3860 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_spline_struct::p3, and dxf_point_struct::y0.
| double dxf_spline_get_z3 | ( | DxfSpline * | spline | ) |
Get the Z-value z3 of the end tangent point p3 of a DXF SPLINE entity.
z3 of the end tangent point p3. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 3902 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_spline_struct::p3, and dxf_point_struct::z0.
Set the Z-value z3 of the end tangent point p3 of a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| z3 | the Z-value yz of the end tangent point p3 to be set for a DXF SPLINE entity. |
Definition at line 3942 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_spline_struct::p3, and dxf_point_struct::z0.
| double dxf_spline_get_knot_tolerance | ( | DxfSpline * | spline | ) |
Get the knot_tolerance of a DXF SPLINE entity.
knot_tolerance. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 3983 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::knot_tolerance.
Set the knot_tolerance of a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| knot_tolerance | the knot_tolerance to be set for a DXF SPLINE entity. |
Definition at line 4015 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::knot_tolerance.
| double dxf_spline_get_control_point_tolerance | ( | DxfSpline * | spline | ) |
Get the control_point_tolerance of a DXF SPLINE entity.
control_point_tolerance. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 4049 of file spline.c.
References _, dxf_spline_struct::control_point_tolerance, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
| DxfSpline* dxf_spline_set_control_point_tolerance | ( | DxfSpline * | spline, |
| double | control_point_tolerance | ||
| ) |
Set the control_point_tolerance of a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| control_point_tolerance | the control_point_tolerance to be set for a DXF SPLINE entity. |
Definition at line 4081 of file spline.c.
References _, dxf_spline_struct::control_point_tolerance, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
| double dxf_spline_get_fit_tolerance | ( | DxfSpline * | spline | ) |
Get the fit_tolerance of a DXF SPLINE entity.
fit_tolerance. | spline | a pointer to a DXF SPLINE entity. |
Definition at line 4115 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::fit_tolerance.
Set the fit_tolerance of a DXF SPLINE entity.
spline when successful, or NULL when an error occurred. | spline | a pointer to a DXF SPLINE entity. |
| fit_tolerance | the fit_tolerance to be set for a DXF SPLINE entity. |
Definition at line 4147 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::fit_tolerance.
| int dxf_spline_get_flag | ( | DxfSpline * | spline | ) |
Get the flag from a DXF SPLINE.
flag when successful, or EXIT_FAILURE when an error occurred. | spline | a pointer to a DXF SPLINE. |
Definition at line 4182 of file spline.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_spline_struct::flag.
1.7.3