![]() |
libDXF 0.0.1
A library with DXF related functions written in C.
|
Functions for a DXF solid entity (SOLID).
More...
#include "solid.h"
Go to the source code of this file.
Functions | |
| DxfSolid * | dxf_solid_new () |
Allocate memory for a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_init (DxfSolid *solid) |
Allocate memory and initialize data fields in a SOLID entity. | |
| DxfSolid * | dxf_solid_read (DxfFile *fp, DxfSolid *solid) |
Read data from a DXF file into a DXF SOLID entity. | |
| int | dxf_solid_write (DxfFile *fp, DxfSolid *solid) |
Write DXF output to fp for a DXF SOLID entity. | |
| int | dxf_solid_free (DxfSolid *solid) |
Free the allocated memory for a DXF SOLID and all it's data fields. | |
| void | dxf_solid_free_chain (DxfSolid *solids) |
Free the allocated memory for a chain of DXF SOLID entities and all their data fields. | |
| int | dxf_solid_get_id_code (DxfSolid *solid) |
Get the id_code from a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_id_code (DxfSolid *solid, int id_code) |
Set the id_code for a DXF SOLID entity. | |
| char * | dxf_solid_get_linetype (DxfSolid *solid) |
Get the linetype from a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_linetype (DxfSolid *solid, char *linetype) |
Set the linetype for a DXF SOLID entity. | |
| char * | dxf_solid_get_layer (DxfSolid *solid) |
Get the layer from a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_layer (DxfSolid *solid, char *layer) |
Set the layer for a DXF SOLID entity. | |
| double | dxf_solid_get_elevation (DxfSolid *solid) |
Get the elevation from a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_elevation (DxfSolid *solid, double elevation) |
Set the elevation for a DXF SOLID entity. | |
| double | dxf_solid_get_thickness (DxfSolid *solid) |
Get the thickness from a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_thickness (DxfSolid *solid, double thickness) |
Set the thickness for a DXF SOLID entity. | |
| double | dxf_solid_get_linetype_scale (DxfSolid *solid) |
Get the linetype_scale from a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_linetype_scale (DxfSolid *solid, double linetype_scale) |
Set the linetype_scale for a DXF SOLID entity. | |
| int16_t | dxf_solid_get_visibility (DxfSolid *solid) |
Get the visibility from a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_visibility (DxfSolid *solid, int16_t visibility) |
Set the visibility for a DXF SOLID entity. | |
| int | dxf_solid_get_color (DxfSolid *solid) |
Get the color from a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_color (DxfSolid *solid, int color) |
Set the color for a DXF SOLID entity. | |
| int | dxf_solid_get_paperspace (DxfSolid *solid) |
Get the paperspace flag value from a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_paperspace (DxfSolid *solid, int paperspace) |
Set the paperspace flag for a DXF SOLID entity. | |
| int | dxf_solid_get_graphics_data_size (DxfSolid *solid) |
Get the graphics_data_size value from a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_graphics_data_size (DxfSolid *solid, int graphics_data_size) |
Set the graphics_data_size value for a DXF SOLID entity. | |
| int16_t | dxf_solid_get_shadow_mode (DxfSolid *solid) |
Get the shadow_mode from a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_shadow_mode (DxfSolid *solid, int16_t shadow_mode) |
Set the shadow_mode for a DXF SOLID entity. | |
| DxfBinaryGraphicsData * | dxf_solid_get_binary_graphics_data (DxfSolid *solid) |
Get the pointer to the binary_graphics_data from a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_binary_graphics_data (DxfSolid *solid, DxfBinaryGraphicsData *data) |
Set the pointer to the binary_graphics_data for a DXF SOLID entity. | |
| char * | dxf_solid_get_dictionary_owner_soft (DxfSolid *solid) |
Get the pointer to the dictionary_owner_soft from a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_dictionary_owner_soft (DxfSolid *solid, char *dictionary_owner_soft) |
Set the pointer to the dictionary_owner_soft for a DXF SOLID entity. | |
| char * | dxf_solid_get_material (DxfSolid *solid) |
Get the pointer to the material from a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_material (DxfSolid *solid, char *material) |
Set the pointer to the material for a DXF SOLID entity. | |
| char * | dxf_solid_get_dictionary_owner_hard (DxfSolid *solid) |
Get the pointer to the dictionary_owner_hard from a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_dictionary_owner_hard (DxfSolid *solid, char *dictionary_owner_hard) |
Set the pointer to the dictionary_owner_hard for a DXF SOLID entity. | |
| int16_t | dxf_solid_get_lineweight (DxfSolid *solid) |
Get the lineweight from a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_lineweight (DxfSolid *solid, int16_t lineweight) |
Set the lineweight for a DXF SOLID entity. | |
| char * | dxf_solid_get_plot_style_name (DxfSolid *solid) |
Get the plot_style_name from a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_plot_style_name (DxfSolid *solid, char *plot_style_name) |
Set the plot_style_name for a DXF SOLID entity. | |
| long | dxf_solid_get_color_value (DxfSolid *solid) |
Get the color_value from a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_color_value (DxfSolid *solid, long color_value) |
Set the color_value for a DXF SOLID entity. | |
| char * | dxf_solid_get_color_name (DxfSolid *solid) |
Get the color_name from a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_color_name (DxfSolid *solid, char *color_name) |
Set the color_name for a DXF SOLID entity. | |
| long | dxf_solid_get_transparency (DxfSolid *solid) |
Get the transparency from a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_transparency (DxfSolid *solid, long transparency) |
Set the transparency for a DXF SOLID entity. | |
| DxfPoint * | dxf_solid_get_p0 (DxfSolid *solid) |
Get the base point p0 of a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_p0 (DxfSolid *solid, DxfPoint *p0) |
Set the base point p0 of a DXF SOLID entity. | |
| double | dxf_solid_get_x0 (DxfSolid *solid) |
Get the X-value of the base point x0 of a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_x0 (DxfSolid *solid, double x0) |
Set the X-value of the base point x0 of a DXF SOLID entity. | |
| double | dxf_solid_get_y0 (DxfSolid *solid) |
Get the Y-value of the base point y0 of a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_y0 (DxfSolid *solid, double y0) |
Set the Y-value of the base point y0 of a DXF SOLID entity. | |
| double | dxf_solid_get_z0 (DxfSolid *solid) |
Get the Z-value of the base point z0 of a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_z0 (DxfSolid *solid, double z0) |
Set the Z-value of the base point z0 of a DXF SOLID entity. | |
| DxfPoint * | dxf_solid_get_p1 (DxfSolid *solid) |
Get the first alignment point p1 of a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_p1 (DxfSolid *solid, DxfPoint *p1) |
Set the first alignment point p1 of a DXF SOLID entity. | |
| double | dxf_solid_get_x1 (DxfSolid *solid) |
Get the X-value of the first alignment point x1 of a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_x1 (DxfSolid *solid, double x1) |
Set the X-value of the first alignment point x1 of a DXF SOLID entity. | |
| double | dxf_solid_get_y1 (DxfSolid *solid) |
Get the Y-value of the first alignment point y1 of a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_y1 (DxfSolid *solid, double y1) |
Set the Y-value of the first alignment point y1 of a DXF SOLID entity. | |
| double | dxf_solid_get_z1 (DxfSolid *solid) |
Get the Z-value of the first alignment point z1 of a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_z1 (DxfSolid *solid, double z1) |
Set the Z-value of the first alignment point z1 of a DXF SOLID entity. | |
| DxfPoint * | dxf_solid_get_p2 (DxfSolid *solid) |
Get the second alignment point p2 of a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_p2 (DxfSolid *solid, DxfPoint *p2) |
Set the second alignment point p2 of a DXF SOLID entity. | |
| double | dxf_solid_get_x2 (DxfSolid *solid) |
Get the X-value of the second alignment point x2 of a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_x2 (DxfSolid *solid, double x2) |
Set the X-value of the second alignment point x2 of a DXF SOLID entity. | |
| double | dxf_solid_get_y2 (DxfSolid *solid) |
Get the Y-value of the second alignment point y2 of a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_y2 (DxfSolid *solid, double y2) |
Set the Y-value of the second alignment point y2 of a DXF SOLID entity. | |
| double | dxf_solid_get_z2 (DxfSolid *solid) |
Get the Z-value of the second alignment point z2 of a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_z2 (DxfSolid *solid, double z2) |
Set the Z-value of the second alignment point z2 of a DXF SOLID entity. | |
| DxfPoint * | dxf_solid_get_p3 (DxfSolid *solid) |
Get the third alignment point p3 of a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_p3 (DxfSolid *solid, DxfPoint *p3) |
Set the third alignment point p3 of a DXF SOLID entity. | |
| double | dxf_solid_get_x3 (DxfSolid *solid) |
Get the X-value of the third alignment point x3 of a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_x3 (DxfSolid *solid, double x3) |
Set the X-value of the third alignment point x3 of a DXF SOLID entity. | |
| double | dxf_solid_get_y3 (DxfSolid *solid) |
Get the Y-value of the third alignment point y3 of a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_y3 (DxfSolid *solid, double y3) |
Set the Y-value of the third alignment point y3 of a DXF SOLID entity. | |
| double | dxf_solid_get_z3 (DxfSolid *solid) |
Get the Z-value of the third alignment point z3 of a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_z3 (DxfSolid *solid, double z3) |
Set the Z-value of the third alignment point z3 of a DXF SOLID entity. | |
| DxfPoint * | dxf_solid_get_extrusion_vector_as_point (DxfSolid *solid) |
Get the extrusion vector as a DXF POINT entity from a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_extrusion_vector_from_point (DxfSolid *solid, DxfPoint *point) |
Set the extrusion vector from a DXF POINT for a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_extrusion_vector (DxfSolid *solid, double extr_x0, double extr_y0, double extr_z0) |
Set the extrusion vector for a DXF SOLID entity. | |
| double | dxf_solid_get_extr_x0 (DxfSolid *solid) |
Get the X-value of the extrusion vector extr_x0 of a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_extr_x0 (DxfSolid *solid, double extr_x0) |
Set the X-value of the extrusion vector extr_x0 of a DXF SOLID entity. | |
| double | dxf_solid_get_extr_y0 (DxfSolid *solid) |
Get the Y-value of the extrusion vector extr_y0 of a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_extr_y0 (DxfSolid *solid, double extr_y0) |
Set the Y-value of the extrusion vector extr_y0 of a DXF SOLID entity. | |
| double | dxf_solid_get_extr_z0 (DxfSolid *solid) |
Get the Z-value of the extrusion vector extr_z0 of a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_extr_z0 (DxfSolid *solid, double extr_z0) |
Set the Z-value of the extrusion vector extr_z0 of a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_get_next (DxfSolid *solid) |
Get the pointer to the next SOLID entity from a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_set_next (DxfSolid *solid, DxfSolid *next) |
Set the pointer to the next SOLID for a DXF SOLID entity. | |
| DxfSolid * | dxf_solid_get_last (DxfSolid *solid) |
Get the pointer to the last SOLID entity from a linked list of DXF SOLID entities. | |
Functions for a DXF solid entity (SOLID).
A DXF SOLID entity is a filled shape made with up to four point (X, Y, Z)-coordinates.
A filled triangle can be formed by duplicating the third coordinate at the fourth coordinate position.
A diabolo shaped solid can be formed by "twisting" the SOLID form in it's plane, by "swapping" the third and fourth coordinate set.
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 solid.c.
| DxfSolid* dxf_solid_new | ( | ) |
Allocate memory for a DXF SOLID entity.
Fill the memory contents with zeros.
Definition at line 62 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_shape_struct::size.
Referenced by dxf_solid_init(), and dxf_solid_read().
Allocate memory and initialize data fields in a SOLID entity.
NULL when no memory was allocated, a pointer to the allocated memory when succesful. | solid | a pointer to the DXF SOLID entity. |
Definition at line 99 of file solid.c.
References _, dxf_solid_struct::binary_graphics_data, dxf_solid_struct::color, dxf_solid_struct::color_name, dxf_solid_struct::color_value, dxf_solid_struct::dictionary_owner_hard, dxf_solid_struct::dictionary_owner_soft, dxf_binary_graphics_data_init(), 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_solid_new(), dxf_solid_struct::elevation, dxf_solid_struct::extr_x0, dxf_solid_struct::extr_y0, dxf_solid_struct::extr_z0, dxf_solid_struct::graphics_data_size, dxf_solid_struct::id_code, dxf_solid_struct::layer, dxf_solid_struct::linetype, dxf_solid_struct::linetype_scale, dxf_solid_struct::lineweight, dxf_solid_struct::material, dxf_solid_struct::next, dxf_solid_struct::p0, dxf_solid_struct::p1, dxf_solid_struct::p2, dxf_solid_struct::p3, dxf_solid_struct::paperspace, dxf_solid_struct::plot_style_name, dxf_solid_struct::shadow_mode, dxf_solid_struct::thickness, dxf_solid_struct::transparency, dxf_solid_struct::visibility, dxf_point_struct::x0, dxf_point_struct::y0, and dxf_point_struct::z0.
Referenced by dxf_solid_read().

Read data from a DXF file into a DXF SOLID entity.
The last line read from file contained the string "SOLID".
Now follows some data for the SOLID, to be terminated with a " 0" string announcing the following entity, or the end of the ENTITY section marker ENDSEC.
SOLID entity when done, or NULL when an error occurred while reading from the input file. | fp | DXF file pointer to an input file (or device). |
| solid | a pointer to the DXF SOLID entity. |
Definition at line 187 of file solid.c.
References _, dxf_file_struct::acad_version_number, AutoCAD_12, dxf_solid_struct::binary_graphics_data, dxf_solid_struct::color, dxf_solid_struct::color_name, dxf_solid_struct::color_value, dxf_binary_graphics_data_struct::data_line, dxf_solid_struct::dictionary_owner_hard, dxf_solid_struct::dictionary_owner_soft, dxf_binary_graphics_data_init(), DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_DEFAULT_LAYER, DXF_DEFAULT_LINETYPE, dxf_point_init(), dxf_point_new(), dxf_solid_init(), dxf_solid_new(), dxf_solid_struct::elevation, dxf_solid_struct::extr_x0, dxf_solid_struct::extr_y0, dxf_solid_struct::extr_z0, dxf_file_struct::filename, dxf_file_struct::fp, dxf_solid_struct::graphics_data_size, dxf_solid_struct::id_code, dxf_solid_struct::layer, dxf_file_struct::line_number, dxf_solid_struct::linetype, dxf_solid_struct::linetype_scale, dxf_solid_struct::lineweight, dxf_solid_struct::material, dxf_binary_graphics_data_struct::next, dxf_solid_struct::p0, dxf_solid_struct::p1, dxf_solid_struct::p2, dxf_solid_struct::p3, dxf_solid_struct::paperspace, dxf_solid_struct::plot_style_name, dxf_solid_struct::shadow_mode, dxf_solid_struct::thickness, dxf_solid_struct::transparency, dxf_solid_struct::visibility, dxf_point_struct::x0, dxf_point_struct::y0, and dxf_point_struct::z0.

Write DXF output to fp for a DXF SOLID entity.
EXIT_SUCCESS when done, or EXIT_FAILURE when an error occurred while reading from the input file. | fp | DXF file pointer to an output file (or device). |
| solid | a pointer to the DXF SOLID entity. |
Definition at line 567 of file solid.c.
References _, dxf_file_struct::acad_version_number, AutoCAD_11, AutoCAD_12, AutoCAD_13, AutoCAD_14, AutoCAD_2000, AutoCAD_2002, AutoCAD_2004, AutoCAD_2008, AutoCAD_2009, dxf_solid_struct::binary_graphics_data, dxf_solid_struct::color, dxf_solid_struct::color_name, dxf_solid_struct::color_value, dxf_solid_struct::dictionary_owner_hard, dxf_solid_struct::dictionary_owner_soft, dxf_binary_graphics_data_get_data_line(), dxf_binary_graphics_data_get_next(), DXF_COLOR_BYLAYER, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_DEFAULT_LAYER, DXF_DEFAULT_LINETYPE, DXF_FLATLAND, DXF_PAPERSPACE, dxf_solid_struct::elevation, dxf_solid_struct::extr_x0, dxf_solid_struct::extr_y0, dxf_solid_struct::extr_z0, dxf_file_struct::fp, dxf_solid_struct::graphics_data_size, dxf_solid_struct::id_code, dxf_solid_struct::layer, dxf_solid_struct::linetype, dxf_solid_struct::linetype_scale, dxf_solid_struct::lineweight, dxf_solid_struct::material, dxf_solid_struct::p0, dxf_solid_struct::p1, dxf_solid_struct::p2, dxf_solid_struct::p3, dxf_solid_struct::paperspace, dxf_solid_struct::plot_style_name, dxf_solid_struct::shadow_mode, dxf_solid_struct::thickness, dxf_solid_struct::transparency, dxf_solid_struct::visibility, dxf_point_struct::x0, dxf_point_struct::y0, and dxf_point_struct::z0.

| int dxf_solid_free | ( | DxfSolid * | solid | ) |
Free the allocated memory for a DXF SOLID and all it's data fields.
EXIT_SUCCESS when done, or EXIT_FAILURE when an error occurred. | solid | a pointer to the memory occupied by the DXF SOLID entity. |
Definition at line 801 of file solid.c.
References _, dxf_solid_struct::dictionary_owner_hard, dxf_solid_struct::dictionary_owner_soft, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_solid_struct::layer, dxf_solid_struct::linetype, and dxf_solid_struct::next.
Referenced by dxf_solid_free_chain().
| void dxf_solid_free_chain | ( | DxfSolid * | solids | ) |
Free the allocated memory for a chain of DXF SOLID entities and all their data fields.
| solids | pointer to the chain of DXF SOLID entities. |
Definition at line 844 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_solid_free(), and dxf_solid_struct::next.

| int dxf_solid_get_id_code | ( | DxfSolid * | solid | ) |
Get the id_code from a DXF SOLID entity.
id_code. | solid | a pointer to a DXF SOLID entity. |
Definition at line 877 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::id_code.
Set the id_code for a DXF SOLID entity.
| solid | a pointer to a DXF SOLID entity. |
| id_code | the id_code to be set for the entity.This is to be an unique (sequential) number in the DXF file. |
Definition at line 911 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::id_code.
| char* dxf_solid_get_linetype | ( | DxfSolid * | solid | ) |
Get the linetype from a DXF SOLID entity.
linetype when sucessful, NULL when an error occurred. | solid | a pointer to a DXF SOLID entity. |
Definition at line 952 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::linetype.
Set the linetype for a DXF SOLID entity.
| solid | a pointer to a DXF SOLID entity. |
| linetype | a pointer to a string containing the linetype to be set for the entity. |
Definition at line 987 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::linetype.
| char* dxf_solid_get_layer | ( | DxfSolid * | solid | ) |
Get the layer from a DXF SOLID entity.
layer when sucessful, NULL when an error occurred. | solid | a pointer to a DXF SOLID entity. |
Definition at line 1028 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::layer.
Set the layer for a DXF SOLID entity.
| solid | a pointer to a DXF SOLID entity. |
| layer | a pointer to a string containing the layer to be set for the entity. |
Definition at line 1063 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::layer.
| double dxf_solid_get_elevation | ( | DxfSolid * | solid | ) |
Get the elevation from a DXF SOLID entity.
elevation. | solid | a pointer to a DXF SOLID entity. |
Definition at line 1104 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::elevation.
Set the elevation for a DXF SOLID entity.
| solid | a pointer to a DXF SOLID entity. |
| elevation | the elevation to be set for the entity. |
Definition at line 1132 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::elevation.
| double dxf_solid_get_thickness | ( | DxfSolid * | solid | ) |
Get the thickness from a DXF SOLID entity.
thickness. | solid | a pointer to a DXF SOLID entity. |
Definition at line 1165 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::thickness.
Set the thickness for a DXF SOLID entity.
| solid | a pointer to a DXF SOLID entity. |
| thickness | the thickness to be set for the entity. |
Definition at line 1199 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::thickness.
| double dxf_solid_get_linetype_scale | ( | DxfSolid * | solid | ) |
Get the linetype_scale from a DXF SOLID entity.
linetype_scale. | solid | a pointer to a DXF SOLID entity. |
Definition at line 1238 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::linetype_scale.
Set the linetype_scale for a DXF SOLID entity.
| solid | a pointer to a DXF SOLID entity. |
| linetype_scale | the linetype_scale to be set for the entity. |
Definition at line 1272 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::linetype_scale.
| int16_t dxf_solid_get_visibility | ( | DxfSolid * | solid | ) |
Get the visibility from a DXF SOLID entity.
visibility. | solid | a pointer to a DXF SOLID entity. |
Definition at line 1311 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::visibility.
Set the visibility for a DXF SOLID entity.
| solid | a pointer to a DXF SOLID entity. |
| visibility | the visibility to be set for the entity. |
Definition at line 1351 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::visibility.
| int dxf_solid_get_color | ( | DxfSolid * | solid | ) |
Get the color from a DXF SOLID entity.
color. | solid | a pointer to a DXF SOLID entity. |
Definition at line 1396 of file solid.c.
References _, dxf_solid_struct::color, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Set the color for a DXF SOLID entity.
| solid | a pointer to a DXF SOLID entity. |
| color | the color to be set for the entity. |
Definition at line 1430 of file solid.c.
References _, dxf_solid_struct::color, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
| int dxf_solid_get_paperspace | ( | DxfSolid * | solid | ) |
Get the paperspace flag value from a DXF SOLID entity.
paperspace flag value. | solid | a pointer to a DXF SOLID entity. |
Definition at line 1469 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::paperspace.
Set the paperspace flag for a DXF SOLID entity.
| solid | a pointer to a DXF SOLID entity. |
| paperspace | the paperspace flag value to be set for the entity. |
Definition at line 1509 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::paperspace.
| int dxf_solid_get_graphics_data_size | ( | DxfSolid * | solid | ) |
Get the graphics_data_size value from a DXF SOLID entity.
graphics_data_size value when successful, or EXIT_FAILURE when an error occurred. | solid | a pointer to a DXF SOLID entity. |
Definition at line 1556 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::graphics_data_size.
Set the graphics_data_size value for a DXF SOLID entity.
solid when successful, or NULL when an error occurred. | solid | a pointer to a DXF SOLID entity. |
| graphics_data_size | the graphics_data_size value to be set for the entity. |
Definition at line 1599 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::graphics_data_size.
| int16_t dxf_solid_get_shadow_mode | ( | DxfSolid * | solid | ) |
Get the shadow_mode from a DXF SOLID entity.
shadow_mode when successful, or EXIT_FAILURE when an error occurred. | solid | a pointer to a DXF SOLID entity. |
Definition at line 1646 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::shadow_mode.
Set the shadow_mode for a DXF SOLID entity.
solid when successful, or NULL when an error occurred. | solid | a pointer to a DXF SOLID entity. |
| shadow_mode | the shadow_mode to be set for the entity. |
Definition at line 1689 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::shadow_mode.
| DxfBinaryGraphicsData* dxf_solid_get_binary_graphics_data | ( | DxfSolid * | solid | ) |
Get the pointer to the binary_graphics_data from a DXF SOLID entity.
binary_graphics_data.| solid | a pointer to a DXF SOLID entity. |
Definition at line 1737 of file solid.c.
References _, dxf_solid_struct::binary_graphics_data, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
| DxfSolid* dxf_solid_set_binary_graphics_data | ( | DxfSolid * | solid, |
| DxfBinaryGraphicsData * | data | ||
| ) |
Set the pointer to the binary_graphics_data for a DXF SOLID entity.
| solid | a pointer to a DXF SOLID entity. |
| data | a string containing the pointer to the binary_graphics_data for the entity. |
Definition at line 1773 of file solid.c.
References _, dxf_solid_struct::binary_graphics_data, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
| char* dxf_solid_get_dictionary_owner_soft | ( | DxfSolid * | solid | ) |
Get the pointer to the dictionary_owner_soft from a DXF SOLID entity.
dictionary_owner_soft.| solid | a pointer to a DXF SOLID entity. |
Definition at line 1817 of file solid.c.
References _, dxf_solid_struct::dictionary_owner_soft, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Set the pointer to the dictionary_owner_soft for a DXF SOLID entity.
| solid | a pointer to a DXF SOLID entity. |
| dictionary_owner_soft | a string containing the pointer to the dictionary_owner_soft for the entity. |
Definition at line 1853 of file solid.c.
References _, dxf_solid_struct::dictionary_owner_soft, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
| char* dxf_solid_get_material | ( | DxfSolid * | solid | ) |
Get the pointer to the material from a DXF SOLID entity.
material when successful, or NULL when an error occurred.| solid | a pointer to a DXF SOLID entity. |
Definition at line 1897 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::material.
Set the pointer to the material for a DXF SOLID entity.
solid when successful, or NULL when an error occurred. | solid | a pointer to a DXF SOLID entity. |
| material | a string containing the pointer to the material for the entity. |
Definition at line 1935 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::material.
| char* dxf_solid_get_dictionary_owner_hard | ( | DxfSolid * | solid | ) |
Get the pointer to the dictionary_owner_hard from a DXF SOLID entity.
dictionary_owner_hard.| solid | a pointer to a DXF SOLID entity. |
Definition at line 1979 of file solid.c.
References _, dxf_solid_struct::dictionary_owner_hard, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Set the pointer to the dictionary_owner_hard for a DXF SOLID entity.
| solid | a pointer to a DXF SOLID entity. |
| dictionary_owner_hard | a string containing the pointer to the dictionary_owner_hard for the entity. |
Definition at line 2015 of file solid.c.
References _, dxf_solid_struct::dictionary_owner_hard, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
| int16_t dxf_solid_get_lineweight | ( | DxfSolid * | solid | ) |
Get the lineweight from a DXF SOLID entity.
lineweight when successful, or EXIT_FAILURE when an error occurred. | solid | a pointer to a DXF SOLID entity. |
Definition at line 2057 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::lineweight.
Set the lineweight for a DXF SOLID entity.
solid when successful, or NULL when an error occurred. | solid | a pointer to a DXF SOLID entity. |
| lineweight | the lineweight to be set for the entity. |
Definition at line 2088 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::lineweight.
| char* dxf_solid_get_plot_style_name | ( | DxfSolid * | solid | ) |
Get the plot_style_name from a DXF SOLID entity.
plot_style_name when sucessful, or NULL when an error occurred. | solid | a pointer to a DXF SOLID entity. |
Definition at line 2122 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::plot_style_name.
Set the plot_style_name for a DXF SOLID entity.
solid when successful, or NULL when an error occurred. | solid | a pointer to a DXF SOLID entity. |
| plot_style_name | a string containing the plot_style_name for the entity. |
Definition at line 2160 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::plot_style_name.
| long dxf_solid_get_color_value | ( | DxfSolid * | solid | ) |
Get the color_value from a DXF SOLID entity.
color_value when successful, or EXIT_FAILURE when an error occurred. | solid | a pointer to a DXF SOLID entity. |
Definition at line 2202 of file solid.c.
References _, dxf_solid_struct::color_value, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Set the color_value for a DXF SOLID entity.
solid when successful, or NULL when an error occurred. | solid | a pointer to a DXF SOLID entity. |
| color_value | the color_value to be set for the entity. |
Definition at line 2233 of file solid.c.
References _, dxf_solid_struct::color_value, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
| char* dxf_solid_get_color_name | ( | DxfSolid * | solid | ) |
Get the color_name from a DXF SOLID entity.
color_name when sucessful, or NULL when an error occurred. | solid | a pointer to a DXF SOLID entity. |
Definition at line 2267 of file solid.c.
References _, dxf_solid_struct::color_name, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Set the color_name for a DXF SOLID entity.
solid when successful, or NULL when an error occurred. | solid | a pointer to a DXF SOLID entity. |
| color_name | a string containing the color_name for the entity. |
Definition at line 2305 of file solid.c.
References _, dxf_solid_struct::color_name, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
| long dxf_solid_get_transparency | ( | DxfSolid * | solid | ) |
Get the transparency from a DXF SOLID entity.
transparency when successful, or EXIT_FAILURE when an error occurred. | solid | a pointer to a DXF SOLID entity. |
Definition at line 2347 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::transparency.
Set the transparency for a DXF SOLID entity.
solid when successful, or NULL when an error occurred. | solid | a pointer to a DXF SOLID entity. |
| transparency | the transparency to be set for the entity. |
Definition at line 2378 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::transparency.
Get the base point p0 of a DXF SOLID entity.
p0. | solid | a pointer to a DXF SOLID entity. |
Definition at line 2411 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::p0.
Set the base point p0 of a DXF SOLID entity.
SOLID entity. | solid | a pointer to a DXF SOLID entity. |
| p0 | a pointer to a DXF POINT entity. |
Definition at line 2448 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::p0.
| double dxf_solid_get_x0 | ( | DxfSolid * | solid | ) |
Get the X-value of the base point x0 of a DXF SOLID entity.
x0. | solid | a pointer to a DXF SOLID entity. |
Definition at line 2489 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_solid_struct::p0, and dxf_point_struct::x0.
Set the X-value of the base point x0 of a DXF SOLID entity.
solid when successful, or NULL when an error occurred. | solid | a pointer to a DXF SOLID entity. |
| x0 | the X-value of the base point x0 of a DXF SOLID entity. |
Definition at line 2529 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_solid_struct::p0, dxf_solid_struct::x0, and dxf_point_struct::x0.
| double dxf_solid_get_y0 | ( | DxfSolid * | solid | ) |
Get the Y-value of the base point y0 of a DXF SOLID entity.
y0. | solid | a pointer to a DXF SOLID entity. |
Definition at line 2571 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_solid_struct::p0, and dxf_point_struct::y0.
Set the Y-value of the base point y0 of a DXF SOLID entity.
solid when successful, or NULL when an error occurred. | solid | a pointer to a DXF SOLID entity. |
| y0 | the Y-value of the base point y0 of a DXF SOLID entity. |
Definition at line 2611 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_solid_struct::p0, dxf_solid_struct::y0, and dxf_point_struct::y0.
| double dxf_solid_get_z0 | ( | DxfSolid * | solid | ) |
Get the Z-value of the base point z0 of a DXF SOLID entity.
z0. | solid | a pointer to a DXF SOLID entity. |
Definition at line 2653 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_solid_struct::p0, and dxf_point_struct::z0.
Set the Z-value of the base point z0 of a DXF SOLID entity.
solid when successful, or NULL when an error occurred. | solid | a pointer to a DXF SOLID entity. |
| z0 | the Y-value of the base point z0 of a DXF SOLID entity. |
Definition at line 2693 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_solid_struct::p0, dxf_solid_struct::z0, and dxf_point_struct::z0.
Get the first alignment point p1 of a DXF SOLID entity.
p1. | solid | a pointer to a DXF SOLID entity. |
Definition at line 2734 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::p1.
Set the first alignment point p1 of a DXF SOLID entity.
SOLID entity. | solid | a pointer to a DXF SOLID entity. |
| p1 | a pointer to a DXF POINT entity. |
Definition at line 2771 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::p1.
| double dxf_solid_get_x1 | ( | DxfSolid * | solid | ) |
Get the X-value of the first alignment point x1 of a DXF SOLID entity.
x1. | solid | a pointer to a DXF SOLID entity. |
Definition at line 2812 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_solid_struct::p1, and dxf_point_struct::x0.
Set the X-value of the first alignment point x1 of a DXF SOLID entity.
solid when successful, or NULL when an error occurred. | solid | a pointer to a DXF SOLID entity. |
| x1 | the X-value of the first alignment point x1 of a DXF SOLID entity. |
Definition at line 2852 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_solid_struct::p1, dxf_point_struct::x0, and dxf_solid_struct::x1.
| double dxf_solid_get_y1 | ( | DxfSolid * | solid | ) |
Get the Y-value of the first alignment point y1 of a DXF SOLID entity.
y1. | solid | a pointer to a DXF SOLID entity. |
Definition at line 2894 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_solid_struct::p1, and dxf_point_struct::y0.
Set the Y-value of the first alignment point y1 of a DXF SOLID entity.
solid when successful, or NULL when an error occurred. | solid | a pointer to a DXF SOLID entity. |
| y1 | the Y-value of the first alignment point y1 of a DXF SOLID entity. |
Definition at line 2934 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_solid_struct::p1, dxf_point_struct::y0, and dxf_solid_struct::y1.
| double dxf_solid_get_z1 | ( | DxfSolid * | solid | ) |
Get the Z-value of the first alignment point z1 of a DXF SOLID entity.
z1. | solid | a pointer to a DXF SOLID entity. |
Definition at line 2976 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_solid_struct::p1, and dxf_point_struct::z0.
Set the Z-value of the first alignment point z1 of a DXF SOLID entity.
solid when successful, or NULL when an error occurred. | solid | a pointer to a DXF SOLID entity. |
| z1 | the Z-value of the first alignment point z1 of a DXF SOLID entity. |
Definition at line 3016 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_solid_struct::p1, dxf_point_struct::z0, and dxf_solid_struct::z1.
Get the second alignment point p2 of a DXF SOLID entity.
p2. | solid | a pointer to a DXF SOLID entity. |
Definition at line 3057 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::p2.
Set the second alignment point p2 of a DXF SOLID entity.
SOLID entity. | solid | a pointer to a DXF SOLID entity. |
| p2 | a pointer to a DXF POINT entity. |
Definition at line 3094 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::p2.
| double dxf_solid_get_x2 | ( | DxfSolid * | solid | ) |
Get the X-value of the second alignment point x2 of a DXF SOLID entity.
x2. | solid | a pointer to a DXF SOLID entity. |
Definition at line 3135 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_solid_struct::p2, and dxf_point_struct::x0.
Set the X-value of the second alignment point x2 of a DXF SOLID entity.
solid when successful, or NULL when an error occurred. | solid | a pointer to a DXF SOLID entity. |
| x2 | the X-value of the second alignment point x2 of a DXF SOLID entity. |
Definition at line 3175 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_solid_struct::p2, dxf_point_struct::x0, and dxf_solid_struct::x2.
| double dxf_solid_get_y2 | ( | DxfSolid * | solid | ) |
Get the Y-value of the second alignment point y2 of a DXF SOLID entity.
y2. | solid | a pointer to a DXF SOLID entity. |
Definition at line 3217 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_solid_struct::p2, and dxf_point_struct::y0.
Set the Y-value of the second alignment point y2 of a DXF SOLID entity.
solid when successful, or NULL when an error occurred. | solid | a pointer to a DXF SOLID entity. |
| y2 | the Y-value of the second alignment point y2 of a DXF SOLID entity. |
Definition at line 3257 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_solid_struct::p2, dxf_point_struct::y0, and dxf_solid_struct::y2.
| double dxf_solid_get_z2 | ( | DxfSolid * | solid | ) |
Get the Z-value of the second alignment point z2 of a DXF SOLID entity.
z2. | solid | a pointer to a DXF SOLID entity. |
Definition at line 3299 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_solid_struct::p2, and dxf_point_struct::z0.
Set the Z-value of the second alignment point z2 of a DXF SOLID entity.
solid when successful, or NULL when an error occurred. | solid | a pointer to a DXF SOLID entity. |
| z2 | the Z-value of the second alignment point z2 of a DXF SOLID entity. |
Definition at line 3339 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_solid_struct::p2, dxf_point_struct::z0, and dxf_solid_struct::z2.
Get the third alignment point p3 of a DXF SOLID entity.
p3. | solid | a pointer to a DXF SOLID entity. |
Definition at line 3380 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::p3.
Set the third alignment point p3 of a DXF SOLID entity.
SOLID entity. | solid | a pointer to a DXF SOLID entity. |
| p3 | a pointer to a DXF POINT entity. |
Definition at line 3417 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::p3.
| double dxf_solid_get_x3 | ( | DxfSolid * | solid | ) |
Get the X-value of the third alignment point x3 of a DXF SOLID entity.
x3. | solid | a pointer to a DXF SOLID entity. |
Definition at line 3458 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_solid_struct::p3, and dxf_point_struct::x0.
Set the X-value of the third alignment point x3 of a DXF SOLID entity.
solid when successful, or NULL when an error occurred. | solid | a pointer to a DXF SOLID entity. |
| x3 | the X-value of the third alignment point x3 of a DXF SOLID entity. |
Definition at line 3498 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_solid_struct::p3, dxf_point_struct::x0, and dxf_solid_struct::x3.
| double dxf_solid_get_y3 | ( | DxfSolid * | solid | ) |
Get the Y-value of the third alignment point y3 of a DXF SOLID entity.
y3. | solid | a pointer to a DXF SOLID entity. |
Definition at line 3540 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_solid_struct::p3, and dxf_point_struct::y0.
Set the Y-value of the third alignment point y3 of a DXF SOLID entity.
solid when successful, or NULL when an error occurred. | solid | a pointer to a DXF SOLID entity. |
| y3 | the Y-value of the third alignment point y3 of a DXF SOLID entity. |
Definition at line 3580 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_solid_struct::p3, dxf_point_struct::y0, and dxf_solid_struct::y3.
| double dxf_solid_get_z3 | ( | DxfSolid * | solid | ) |
Get the Z-value of the third alignment point z3 of a DXF SOLID entity.
z3. | solid | a pointer to a DXF SOLID entity. |
Definition at line 3622 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_solid_struct::p3, and dxf_point_struct::z0.
Set the Z-value of the third alignment point z3 of a DXF SOLID entity.
solid when successful, or NULL when an error occurred. | solid | a pointer to a DXF SOLID entity. |
| z3 | the Z-value of the third alignment point z3 of a DXF SOLID entity. |
Definition at line 3662 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_solid_struct::p3, dxf_point_struct::z0, and dxf_solid_struct::z3.
Get the extrusion vector as a DXF POINT entity from a DXF SOLID entity.
POINT containing the extrusion coordinates.POINT. | solid | a pointer to a DXF SOLID entity. |
Definition at line 3706 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_point_init(), dxf_solid_struct::extr_x0, dxf_solid_struct::extr_y0, and dxf_solid_struct::extr_z0.

Set the extrusion vector from a DXF POINT for a DXF SOLID entity.
| solid | a pointer to a DXF SOLID entity. |
| point | a pointer to a DXF POINT entity. |
Definition at line 3748 of file solid.c.
References _, DEBUG, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_solid_struct::extr_x0, dxf_solid_struct::extr_y0, dxf_solid_struct::extr_z0, dxf_point_struct::x0, dxf_point_struct::y0, and dxf_point_struct::z0.
| DxfSolid* dxf_solid_set_extrusion_vector | ( | DxfSolid * | solid, |
| double | extr_x0, | ||
| double | extr_y0, | ||
| double | extr_z0 | ||
| ) |
Set the extrusion vector for a DXF SOLID entity.
| solid | a pointer to a DXF SOLID entity. |
| extr_x0 | X-value of the extrusion direction. |
| extr_y0 | Y-value of the extrusion direction. |
| extr_z0 | Z-value of the extrusion direction. |
Definition at line 3788 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_solid_struct::extr_x0, dxf_solid_struct::extr_y0, and dxf_solid_struct::extr_z0.
| double dxf_solid_get_extr_x0 | ( | DxfSolid * | solid | ) |
Get the X-value of the extrusion vector extr_x0 of a DXF SOLID entity.
extr_x0. | solid | a pointer to a DXF SOLID entity. |
Definition at line 3828 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::extr_x0.
Set the X-value of the extrusion vector extr_x0 of a DXF SOLID entity.
solid when successful, or NULL when an error occurred. | solid | a pointer to a DXF SOLID entity. |
| extr_x0 | the X-value of the extrusion vector extr_x0 of a DXF SOLID entity. |
Definition at line 3861 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::extr_x0.
| double dxf_solid_get_extr_y0 | ( | DxfSolid * | solid | ) |
Get the Y-value of the extrusion vector extr_y0 of a DXF SOLID entity.
extr_y0. | solid | a pointer to a DXF SOLID entity. |
Definition at line 3896 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::extr_y0.
Set the Y-value of the extrusion vector extr_y0 of a DXF SOLID entity.
solid when successful, or NULL when an error occurred. | solid | a pointer to a DXF SOLID entity. |
| extr_y0 | the Y-value of the extrusion vector extr_y0 of a DXF SOLID entity. |
Definition at line 3929 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::extr_y0.
| double dxf_solid_get_extr_z0 | ( | DxfSolid * | solid | ) |
Get the Z-value of the extrusion vector extr_z0 of a DXF SOLID entity.
extr_z0. | solid | a pointer to a DXF SOLID entity. |
Definition at line 3964 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::extr_z0.
Set the Z-value of the extrusion vector extr_z0 of a DXF SOLID entity.
solid when successful, or NULL when an error occurred. | solid | a pointer to a DXF SOLID entity. |
| extr_z0 | the Z-value of the extrusion vector extr_z0 of a DXF SOLID entity. |
Definition at line 3997 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::extr_z0.
Get the pointer to the next SOLID entity from a DXF SOLID entity.
SOLID entity.| solid | a pointer to a DXF SOLID entity. |
Definition at line 4034 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::next.
Set the pointer to the next SOLID for a DXF SOLID entity.
| solid | a pointer to a DXF SOLID entity. |
| next | a pointer to the next SOLID for the entity. |
Definition at line 4070 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::next.
Get the pointer to the last SOLID entity from a linked list of DXF SOLID entities.
SOLID entity.| solid | a pointer to a DXF SOLID entity. |
Definition at line 4113 of file solid.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_solid_struct::next.
1.7.3