libDXF 0.0.1
A library with DXF related functions written in C.
|
Header file for a DXF ellipse entity (ELLIPSE
).
More...
Go to the source code of this file.
Data Structures | |
struct | dxf_ellipse_struct |
Definition of an AutoCAD ellipse entity (ELLIPSE ). More... | |
Typedefs | |
typedef struct dxf_ellipse_struct | DxfEllipse |
Definition of an AutoCAD ellipse entity (ELLIPSE ). | |
Functions | |
DxfEllipse * | dxf_ellipse_new () |
Allocate memory for a DXF ELLIPSE . | |
DxfEllipse * | dxf_ellipse_init (DxfEllipse *ellipse) |
Allocate memory and initialize data fields in a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_read (DxfFile *fp, DxfEllipse *ellipse) |
Read data from a DXF file into a DXF ELLIPSE entity. | |
int | dxf_ellipse_write (DxfFile *fp, DxfEllipse *ellipse) |
Write DXF output to a file for a DXF ELLIPSE entity. | |
int | dxf_ellipse_free (DxfEllipse *ellipse) |
Free the allocated memory for a DXF ELLIPSE and all it's data fields. | |
void | dxf_ellipse_free_chain (DxfEllipse *ellipses) |
Free the allocated memory for a chain of DXF ELLIPSE entities and all their data fields. | |
int | dxf_ellipse_get_id_code (DxfEllipse *ellipse) |
Get the id_code from a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_id_code (DxfEllipse *ellipse, int id_code) |
Set the ID code for a DXF ELLIPSE entity. | |
char * | dxf_ellipse_get_linetype (DxfEllipse *ellipse) |
Get the linetype from a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_linetype (DxfEllipse *ellipse, char *linetype) |
Set the linetype for a DXF ELLIPSE entity. | |
char * | dxf_ellipse_get_layer (DxfEllipse *ellipse) |
Get the layer from a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_layer (DxfEllipse *ellipse, char *layer) |
Set the layer for a DXF ELLIPSE entity. | |
double | dxf_ellipse_get_elevation (DxfEllipse *ellipse) |
Get the elevation from a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_elevation (DxfEllipse *ellipse, double elevation) |
Set the elevation for a DXF ELLIPSE entity. | |
double | dxf_ellipse_get_thickness (DxfEllipse *ellipse) |
Get the thickness from a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_thickness (DxfEllipse *ellipse, double thickness) |
Set the thickness for a DXF ELLIPSE entity. | |
double | dxf_ellipse_get_linetype_scale (DxfEllipse *ellipse) |
Get the linetype scale from a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_linetype_scale (DxfEllipse *ellipse, double linetype_scale) |
Set the linetype scale for a DXF ELLIPSE entity. | |
int16_t | dxf_ellipse_get_visibility (DxfEllipse *ellipse) |
Get the visibility from a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_visibility (DxfEllipse *ellipse, int16_t visibility) |
Set the visibility for a DXF ELLIPSE entity. | |
int | dxf_ellipse_get_color (DxfEllipse *ellipse) |
Get the color from a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_color (DxfEllipse *ellipse, int color) |
Set the color for a DXF ELLIPSE entity. | |
int | dxf_ellipse_get_paperspace (DxfEllipse *ellipse) |
Get the paperspace flag value from a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_paperspace (DxfEllipse *ellipse, int paperspace) |
Set the paperspace flag for a DXF ELLIPSE entity. | |
int | dxf_ellipse_get_graphics_data_size (DxfEllipse *ellipse) |
Get the graphics_data_size value from a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_graphics_data_size (DxfEllipse *ellipse, int graphics_data_size) |
Set the graphics_data_size value for a DXF ELLIPSE entity. | |
int16_t | dxf_ellipse_get_shadow_mode (DxfEllipse *ellipse) |
Get the shadow_mode from a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_shadow_mode (DxfEllipse *ellipse, int16_t shadow_mode) |
Set the shadow_mode for a DXF ELLIPSE entity. | |
DxfBinaryGraphicsData * | dxf_ellipse_get_binary_graphics_data (DxfEllipse *ellipse) |
Get the pointer to the binary_graphics_data from a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_binary_graphics_data (DxfEllipse *ellipse, DxfBinaryGraphicsData *data) |
Set the pointer to the binary_graphics_data for a DXF ELLIPSE entity. | |
char * | dxf_ellipse_get_dictionary_owner_soft (DxfEllipse *ellipse) |
Get the soft pointer to the dictionary owner from a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_dictionary_owner_soft (DxfEllipse *ellipse, char *dictionary_owner_soft) |
Set the pointer to the dictionary_owner_soft for a DXF ELLIPSE entity. | |
char * | dxf_ellipse_get_material (DxfEllipse *ellipse) |
Get the pointer to the material from a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_material (DxfEllipse *ellipse, char *material) |
Set the pointer to the material for a DXF ELLIPSE entity. | |
char * | dxf_ellipse_get_dictionary_owner_hard (DxfEllipse *ellipse) |
Get the hard pointer to the dictionary owner from a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_dictionary_owner_hard (DxfEllipse *ellipse, char *dictionary_owner_hard) |
Set the pointer to the dictionary_owner_hard for a DXF ELLIPSE entity. | |
int16_t | dxf_ellipse_get_lineweight (DxfEllipse *ellipse) |
Get the lineweight from a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_lineweight (DxfEllipse *ellipse, int16_t lineweight) |
Set the lineweight for a DXF ELLIPSE entity. | |
char * | dxf_ellipse_get_plot_style_name (DxfEllipse *ellipse) |
Get the plot_style_name from a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_plot_style_name (DxfEllipse *ellipse, char *plot_style_name) |
Set the plot_style_name for a DXF ELLIPSE entity. | |
long | dxf_ellipse_get_color_value (DxfEllipse *ellipse) |
Get the color_value from a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_color_value (DxfEllipse *ellipse, long color_value) |
Set the color_value for a DXF ELLIPSE entity. | |
char * | dxf_ellipse_get_color_name (DxfEllipse *ellipse) |
Get the color_name from a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_color_name (DxfEllipse *ellipse, char *color_name) |
Set the color_name for a DXF ELLIPSE entity. | |
long | dxf_ellipse_get_transparency (DxfEllipse *ellipse) |
Get the transparency from a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_transparency (DxfEllipse *ellipse, long transparency) |
Set the transparency for a DXF ELLIPSE entity. | |
DxfPoint * | dxf_ellipse_get_p0 (DxfEllipse *ellipse) |
Get the center point p0 of a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_p0 (DxfEllipse *ellipse, DxfPoint *p0) |
Set the center point p0 of a DXF ELLIPSE entity. | |
double | dxf_ellipse_get_x0 (DxfEllipse *ellipse) |
Get the X-value of the center point x0 of a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_x0 (DxfEllipse *ellipse, double x0) |
Set the X-value of the center point x0 of a DXF ELLIPSE entity. | |
double | dxf_ellipse_get_y0 (DxfEllipse *ellipse) |
Get the Y-value of the center point y0 of a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_y0 (DxfEllipse *ellipse, double y0) |
Set the Y-value of the center point y0 of a DXF ELLIPSE entity. | |
double | dxf_ellipse_get_z0 (DxfEllipse *ellipse) |
Get the Z-value of the center point z0 of a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_z0 (DxfEllipse *ellipse, double z0) |
Set the Z-value of the center point z0 of a DXF ELLIPSE entity. | |
DxfPoint * | dxf_ellipse_get_p1 (DxfEllipse *ellipse) |
Get the end point of the major axis p1 (relative to the center) of a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_p1 (DxfEllipse *ellipse, DxfPoint *p1) |
Set the endpoint of the major axis p1 (relative to the center) of a DXF ELLIPSE entity. | |
double | dxf_ellipse_get_x1 (DxfEllipse *ellipse) |
Get the X-value x1 of the endpoint of the major axis (relative to the center) of a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_x1 (DxfEllipse *ellipse, double x1) |
Set the X-value x1 of the endpoint of the major axis (relative to the center) of a DXF ELLIPSE entity. | |
double | dxf_ellipse_get_y1 (DxfEllipse *ellipse) |
Get the Y-value y1 of the endpoint of the major axis (relative to the center) of a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_y1 (DxfEllipse *ellipse, double y1) |
Set the Y-value y1 of the endpoint of the major axis (relative to the center) of a DXF ELLIPSE entity. | |
double | dxf_ellipse_get_z1 (DxfEllipse *ellipse) |
Get the Z-value z1 of the endpoint of the major axis (relative to the center) of a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_z1 (DxfEllipse *ellipse, double z1) |
Set the Z-value z1 of the endpoint of the major axis (relative to the center) of a DXF ELLIPSE entity. | |
double | dxf_ellipse_get_ratio (DxfEllipse *ellipse) |
Get the ratio of minor axis to major axis from a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_ratio (DxfEllipse *ellipse, double ratio) |
Set the ratio of a DXF ELLIPSE entity. | |
double | dxf_ellipse_get_start_angle (DxfEllipse *ellipse) |
Get the start angle from a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_start_angle (DxfEllipse *ellipse, double start_angle) |
Set the start angle for a DXF ELLIPSE entity. | |
double | dxf_ellipse_get_end_angle (DxfEllipse *ellipse) |
Get the end angle from a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_end_angle (DxfEllipse *ellipse, double end_angle) |
Set the end angle for a DXF ELLIPSE entity. | |
double | dxf_ellipse_get_extr_x0 (DxfEllipse *ellipse) |
Get the X-value of the extrusion vector of a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_extr_x0 (DxfEllipse *ellipse, double extr_x0) |
Set the X-value of the extrusion vector of a DXF ELLIPSE entity. | |
double | dxf_ellipse_get_extr_y0 (DxfEllipse *ellipse) |
Get the Y-value of the extrusion vector of a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_extr_y0 (DxfEllipse *ellipse, double extr_y0) |
Set the Y-value of the extrusion vector of a DXF ELLIPSE entity. | |
double | dxf_ellipse_get_extr_z0 (DxfEllipse *ellipse) |
Get the Z-value of the extrusion vector of a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_extr_z0 (DxfEllipse *ellipse, double extr_z0) |
Set the Z-value of the extrusion vector of a DXF ELLIPSE entity. | |
DxfPoint * | dxf_ellipse_get_extrusion_vector_as_point (DxfEllipse *ellipse) |
Get the extrusion vector as a DXF POINT entity from a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_extrusion_vector_from_point (DxfEllipse *ellipse, DxfPoint *point) |
Set the extrusion vector from a DXF POINT for a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_extrusion_vector (DxfEllipse *ellipse, double extr_x0, double extr_y0, double extr_z0) |
Set the extrusion vector for a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_get_next (DxfEllipse *ellipse) |
Get the pointer to the next ELLIPSE entity from a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_set_next (DxfEllipse *ellipse, DxfEllipse *next) |
Set the pointer to the next ELLIPSE for a DXF ELLIPSE entity. | |
DxfEllipse * | dxf_ellipse_get_last (DxfEllipse *ellipse) |
Get the pointer to the last ELLIPSE entity from a linked list of DXF ELLIPSE entities. |
Header file for a DXF ellipse entity (ELLIPSE
).
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 ellipse.h.
typedef struct dxf_ellipse_struct DxfEllipse |
Definition of an AutoCAD ellipse entity (ELLIPSE
).
This entity requires AutoCAD version R14 or higher.
DxfEllipse* dxf_ellipse_new | ( | ) |
Allocate memory for a DXF ELLIPSE
.
Fill the memory contents with zeros.
NULL
when no memory was allocated, a pointer to the allocated memory when succesful. Definition at line 54 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_ellipse_init(), and dxf_ellipse_read().
DxfEllipse* dxf_ellipse_init | ( | DxfEllipse * | ellipse | ) |
Allocate memory and initialize data fields in a DXF ELLIPSE
entity.
NULL
when no memory was allocated, a pointer to the allocated memory when succesful. ellipse | Pointer to a DXF ELLIPSE entity. |
Definition at line 92 of file ellipse.c.
References _, dxf_binary_graphics_data_new(), DXF_COLOR_BYLAYER, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_DEFAULT_LAYER, DXF_DEFAULT_LINETYPE, DXF_DEFAULT_LINETYPE_SCALE, DXF_DEFAULT_VISIBILITY, dxf_ellipse_get_p0(), dxf_ellipse_get_p1(), dxf_ellipse_new(), dxf_ellipse_set_binary_graphics_data(), dxf_ellipse_set_color(), dxf_ellipse_set_color_name(), dxf_ellipse_set_color_value(), dxf_ellipse_set_dictionary_owner_hard(), dxf_ellipse_set_dictionary_owner_soft(), dxf_ellipse_set_elevation(), dxf_ellipse_set_end_angle(), dxf_ellipse_set_extr_x0(), dxf_ellipse_set_extr_y0(), dxf_ellipse_set_extr_z0(), dxf_ellipse_set_graphics_data_size(), dxf_ellipse_set_id_code(), dxf_ellipse_set_layer(), dxf_ellipse_set_linetype(), dxf_ellipse_set_linetype_scale(), dxf_ellipse_set_lineweight(), dxf_ellipse_set_material(), dxf_ellipse_set_next(), dxf_ellipse_set_p0(), dxf_ellipse_set_p1(), dxf_ellipse_set_paperspace(), dxf_ellipse_set_plot_style_name(), dxf_ellipse_set_ratio(), dxf_ellipse_set_shadow_mode(), dxf_ellipse_set_start_angle(), dxf_ellipse_set_thickness(), dxf_ellipse_set_transparency(), dxf_ellipse_set_visibility(), dxf_ellipse_set_x0(), dxf_ellipse_set_x1(), dxf_ellipse_set_y0(), dxf_ellipse_set_y1(), dxf_ellipse_set_z0(), dxf_ellipse_set_z1(), DXF_MODELSPACE, dxf_point_init(), and dxf_point_new().
Referenced by dxf_ellipse_read().
DxfEllipse* dxf_ellipse_read | ( | DxfFile * | fp, |
DxfEllipse * | ellipse | ||
) |
Read data from a DXF file into a DXF ELLIPSE
entity.
The last line read from file contained the string "ELLIPSE".
Now follows some data for the ELLIPSE
, 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 ellipse
.
ellipse
. fp | DXF file pointer to an input file (or device). |
ellipse | Pointer to a DXF ELLIPSE entity. |
Definition at line 172 of file ellipse.c.
References _, dxf_file_struct::acad_version_number, AutoCAD_11, AutoCAD_12, dxf_ellipse_struct::color, dxf_ellipse_struct::dictionary_owner_hard, dxf_ellipse_struct::dictionary_owner_soft, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_DEFAULT_LAYER, DXF_DEFAULT_LINETYPE, dxf_ellipse_init(), dxf_ellipse_new(), dxf_ellipse_struct::elevation, dxf_ellipse_struct::end_angle, dxf_ellipse_struct::extr_x0, dxf_ellipse_struct::extr_y0, dxf_ellipse_struct::extr_z0, dxf_file_struct::filename, dxf_file_struct::fp, dxf_ellipse_struct::id_code, dxf_ellipse_struct::layer, dxf_file_struct::line_number, dxf_ellipse_struct::linetype, dxf_ellipse_struct::linetype_scale, dxf_ellipse_struct::paperspace, dxf_ellipse_struct::ratio, dxf_ellipse_struct::start_angle, dxf_ellipse_struct::thickness, dxf_ellipse_struct::visibility, dxf_ellipse_struct::x0, dxf_ellipse_struct::x1, dxf_ellipse_struct::y0, dxf_ellipse_struct::y1, dxf_ellipse_struct::z0, and dxf_ellipse_struct::z1.
int dxf_ellipse_write | ( | DxfFile * | fp, |
DxfEllipse * | ellipse | ||
) |
Write DXF output to a file for a DXF ELLIPSE
entity.
The ellipse entity (elliptic arc) requires AutoCAD version R14 or higher.
EXIT_SUCCESS
when done, or EXIT_FAILURE
when an error occurred. fp | DXF file pointer to an output file (or device). |
ellipse | Pointer to a DXF ELLIPSE entity |
Definition at line 442 of file ellipse.c.
References _, dxf_file_struct::acad_version_number, AutoCAD_11, AutoCAD_13, AutoCAD_14, dxf_ellipse_struct::color, dxf_ellipse_struct::dictionary_owner_hard, dxf_ellipse_struct::dictionary_owner_soft, DXF_COLOR_BYLAYER, DXF_DEBUG_BEGIN, DXF_DEBUG_END, DXF_DEFAULT_LAYER, DXF_DEFAULT_LINETYPE, DXF_FLATLAND, DXF_PAPERSPACE, dxf_ellipse_struct::elevation, dxf_ellipse_struct::end_angle, dxf_ellipse_struct::extr_x0, dxf_ellipse_struct::extr_y0, dxf_ellipse_struct::extr_z0, dxf_file_struct::fp, dxf_ellipse_struct::id_code, dxf_ellipse_struct::layer, dxf_ellipse_struct::linetype, dxf_ellipse_struct::linetype_scale, dxf_ellipse_struct::paperspace, dxf_ellipse_struct::ratio, dxf_ellipse_struct::start_angle, dxf_ellipse_struct::thickness, dxf_ellipse_struct::visibility, dxf_ellipse_struct::x0, dxf_ellipse_struct::x1, dxf_ellipse_struct::y0, dxf_ellipse_struct::y1, dxf_ellipse_struct::z0, and dxf_ellipse_struct::z1.
int dxf_ellipse_free | ( | DxfEllipse * | ellipse | ) |
Free the allocated memory for a DXF ELLIPSE
and all it's data fields.
EXIT_SUCCESS
when done, or EXIT_FAILURE
when an error occurred. ellipse | Pointer to the memory occupied by the DXF ELLIPSE entity. |
Definition at line 611 of file ellipse.c.
References _, dxf_ellipse_struct::dictionary_owner_hard, dxf_ellipse_struct::dictionary_owner_soft, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_ellipse_struct::layer, dxf_ellipse_struct::linetype, and dxf_ellipse_struct::next.
Referenced by dxf_ellipse_free_chain().
void dxf_ellipse_free_chain | ( | DxfEllipse * | ellipses | ) |
Free the allocated memory for a chain of DXF ELLIPSE
entities and all their data fields.
ellipses | pointer to the chain of DXF ELLIPSE entities. |
Definition at line 654 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_ellipse_free(), and dxf_ellipse_struct::next.
int dxf_ellipse_get_id_code | ( | DxfEllipse * | ellipse | ) |
Get the id_code
from a DXF ELLIPSE
entity.
id_code
. ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 687 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::id_code.
DxfEllipse* dxf_ellipse_set_id_code | ( | DxfEllipse * | ellipse, |
int | id_code | ||
) |
Set the ID code for a DXF ELLIPSE
entity.
ellipse | a pointer to a DXF ELLIPSE entity. |
id_code | Identification number for the entity. This is to be an unique (sequential) number in the DXF file. |
Definition at line 722 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::id_code.
Referenced by dxf_ellipse_init().
char* dxf_ellipse_get_linetype | ( | DxfEllipse * | ellipse | ) |
Get the linetype from a DXF ELLIPSE
entity.
NULL
when an error occurred. ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 764 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::linetype.
DxfEllipse* dxf_ellipse_set_linetype | ( | DxfEllipse * | ellipse, |
char * | linetype | ||
) |
Set the linetype for a DXF ELLIPSE
entity.
ellipse | a pointer to a DXF ELLIPSE entity. |
linetype | a string containing the linetype for the entity. |
Definition at line 799 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::linetype.
Referenced by dxf_ellipse_init().
char* dxf_ellipse_get_layer | ( | DxfEllipse * | ellipse | ) |
Get the layer from a DXF ELLIPSE
entity.
NULL
when an error occurred. ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 839 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::layer.
DxfEllipse* dxf_ellipse_set_layer | ( | DxfEllipse * | ellipse, |
char * | layer | ||
) |
Set the layer for a DXF ELLIPSE
entity.
ellipse | a pointer to a DXF ELLIPSE entity. |
layer | a string containing the layer for the entity. |
Definition at line 874 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::layer.
Referenced by dxf_ellipse_init().
double dxf_ellipse_get_elevation | ( | DxfEllipse * | ellipse | ) |
Get the elevation from a DXF ELLIPSE
entity.
ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 914 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::elevation.
DxfEllipse* dxf_ellipse_set_elevation | ( | DxfEllipse * | ellipse, |
double | elevation | ||
) |
Set the elevation for a DXF ELLIPSE
entity.
ellipse | a pointer to a DXF ELLIPSE entity. |
elevation | the elevation to be set for the entity. |
Definition at line 942 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::elevation.
Referenced by dxf_ellipse_init().
double dxf_ellipse_get_thickness | ( | DxfEllipse * | ellipse | ) |
Get the thickness from a DXF ELLIPSE
entity.
ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 975 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::thickness.
DxfEllipse* dxf_ellipse_set_thickness | ( | DxfEllipse * | ellipse, |
double | thickness | ||
) |
Set the thickness for a DXF ELLIPSE
entity.
ellipse | a pointer to a DXF ELLIPSE entity. |
thickness | the thickness to be set for the entity. |
Definition at line 1010 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::thickness.
Referenced by dxf_ellipse_init().
double dxf_ellipse_get_linetype_scale | ( | DxfEllipse * | ellipse | ) |
Get the linetype scale from a DXF ELLIPSE
entity.
ellipse | a pointer to a DXF ARC entity. |
Definition at line 1050 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::linetype_scale.
DxfEllipse* dxf_ellipse_set_linetype_scale | ( | DxfEllipse * | ellipse, |
double | linetype_scale | ||
) |
Set the linetype scale for a DXF ELLIPSE
entity.
ellipse | a pointer to a DXF ELLIPSE entity. |
linetype_scale | the linetype scale to be set for the entity. |
Definition at line 1085 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::linetype_scale.
Referenced by dxf_ellipse_init().
int16_t dxf_ellipse_get_visibility | ( | DxfEllipse * | ellipse | ) |
Get the visibility from a DXF ELLIPSE
entity.
ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 1125 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::visibility.
DxfEllipse* dxf_ellipse_set_visibility | ( | DxfEllipse * | ellipse, |
int16_t | visibility | ||
) |
Set the visibility for a DXF ELLIPSE
entity.
ellipse | a pointer to a DXF ELLIPSE entity. |
visibility | the visibility to be set for the entity. |
Definition at line 1167 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::visibility.
Referenced by dxf_ellipse_init().
int dxf_ellipse_get_color | ( | DxfEllipse * | ellipse | ) |
Get the color from a DXF ELLIPSE
entity.
ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 1214 of file ellipse.c.
References _, dxf_ellipse_struct::color, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
DxfEllipse* dxf_ellipse_set_color | ( | DxfEllipse * | ellipse, |
int | color | ||
) |
Set the color for a DXF ELLIPSE
entity.
ellipse | a pointer to a DXF ELLIPSE entity. |
color | the color to be set for the entity. |
Definition at line 1248 of file ellipse.c.
References _, dxf_ellipse_struct::color, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_ellipse_init().
int dxf_ellipse_get_paperspace | ( | DxfEllipse * | ellipse | ) |
Get the paperspace flag value from a DXF ELLIPSE
entity.
ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 1289 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::paperspace.
DxfEllipse* dxf_ellipse_set_paperspace | ( | DxfEllipse * | ellipse, |
int | paperspace | ||
) |
Set the paperspace flag for a DXF ELLIPSE
entity.
ellipse | a pointer to a DXF ELLIPSE entity. |
paperspace | the paperspace flag value to be set for the entity. |
Definition at line 1329 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::paperspace.
Referenced by dxf_ellipse_init().
int dxf_ellipse_get_graphics_data_size | ( | DxfEllipse * | ellipse | ) |
Get the graphics_data_size
value from a DXF ELLIPSE
entity.
graphics_data_size
value when successful, or EXIT_FAILURE
when an error occurred. ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 1378 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::graphics_data_size.
DxfEllipse* dxf_ellipse_set_graphics_data_size | ( | DxfEllipse * | ellipse, |
int | graphics_data_size | ||
) |
Set the graphics_data_size
value for a DXF ELLIPSE
entity.
ellipse
when successful, or NULL
when an error occurred. ellipse | a pointer to a DXF ELLIPSE entity. |
graphics_data_size | the graphics_data_size value to be set for the entity. |
Definition at line 1422 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::graphics_data_size.
Referenced by dxf_ellipse_init().
int16_t dxf_ellipse_get_shadow_mode | ( | DxfEllipse * | ellipse | ) |
Get the shadow_mode
from a DXF ELLIPSE
entity.
shadow_mode
when successful, or EXIT_FAILURE
when an error occurred. ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 1470 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::shadow_mode.
DxfEllipse* dxf_ellipse_set_shadow_mode | ( | DxfEllipse * | ellipse, |
int16_t | shadow_mode | ||
) |
Set the shadow_mode
for a DXF ELLIPSE
entity.
ellipse
when successful, or NULL
when an error occurred. ellipse | a pointer to a DXF ELLIPSE entity. |
shadow_mode | the shadow mode to be set for the entity. |
Definition at line 1515 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::shadow_mode.
Referenced by dxf_ellipse_init().
DxfBinaryGraphicsData* dxf_ellipse_get_binary_graphics_data | ( | DxfEllipse * | ellipse | ) |
Get the pointer to the binary_graphics_data
from a DXF ELLIPSE
entity.
binary_graphics_data
.ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 1565 of file ellipse.c.
References _, dxf_ellipse_struct::binary_graphics_data, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
DxfEllipse* dxf_ellipse_set_binary_graphics_data | ( | DxfEllipse * | ellipse, |
DxfBinaryGraphicsData * | data | ||
) |
Set the pointer to the binary_graphics_data
for a DXF ELLIPSE
entity.
ellipse | a pointer to a DXF ELLIPSE entity. |
data | a string containing the pointer to the binary_graphics_data for the entity. |
Definition at line 1601 of file ellipse.c.
References _, dxf_ellipse_struct::binary_graphics_data, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_ellipse_init().
char* dxf_ellipse_get_dictionary_owner_soft | ( | DxfEllipse * | ellipse | ) |
Get the soft pointer to the dictionary owner from a DXF ELLIPSE
entity.
ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 1645 of file ellipse.c.
References _, dxf_ellipse_struct::dictionary_owner_soft, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
DxfEllipse* dxf_ellipse_set_dictionary_owner_soft | ( | DxfEllipse * | ellipse, |
char * | dictionary_owner_soft | ||
) |
Set the pointer to the dictionary_owner_soft for a DXF ELLIPSE
entity.
ellipse | a pointer to a DXF ELLIPSE entity. |
dictionary_owner_soft | a string containing the pointer to the dictionary_owner_soft for the entity. |
Definition at line 1681 of file ellipse.c.
References _, dxf_ellipse_struct::dictionary_owner_soft, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_ellipse_init().
char* dxf_ellipse_get_material | ( | DxfEllipse * | ellipse | ) |
Get the pointer to the material
from a DXF ELLIPSE
entity.
material
when successful, or NULL
when an error occurred.ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 1725 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::material.
DxfEllipse* dxf_ellipse_set_material | ( | DxfEllipse * | ellipse, |
char * | material | ||
) |
Set the pointer to the material
for a DXF ELLIPSE
entity.
ellipse
when successful, or NULL
when an error occurred. ellipse | a pointer to a DXF ELLIPSE entity. |
material | a string containing the pointer to the material for the entity. |
Definition at line 1763 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::material.
Referenced by dxf_ellipse_init().
char* dxf_ellipse_get_dictionary_owner_hard | ( | DxfEllipse * | ellipse | ) |
Get the hard pointer to the dictionary owner from a DXF ELLIPSE
entity.
ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 1807 of file ellipse.c.
References _, dxf_ellipse_struct::dictionary_owner_hard, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
DxfEllipse* dxf_ellipse_set_dictionary_owner_hard | ( | DxfEllipse * | ellipse, |
char * | dictionary_owner_hard | ||
) |
Set the pointer to the dictionary_owner_hard for a DXF ELLIPSE
entity.
ellipse | a pointer to a DXF ELLIPSE entity. |
dictionary_owner_hard | a string containing the pointer to the dictionary_owner_hard for the entity. |
Definition at line 1843 of file ellipse.c.
References _, dxf_ellipse_struct::dictionary_owner_hard, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_ellipse_init().
int16_t dxf_ellipse_get_lineweight | ( | DxfEllipse * | ellipse | ) |
Get the lineweight
from a DXF ELLIPSE
entity.
lineweight
when successful, or EXIT_FAILURE
when an error occurred. ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 1885 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::lineweight.
DxfEllipse* dxf_ellipse_set_lineweight | ( | DxfEllipse * | ellipse, |
int16_t | lineweight | ||
) |
Set the lineweight
for a DXF ELLIPSE
entity.
ellipse
when successful, or NULL
when an error occurred. ellipse | a pointer to a DXF ELLIPSE entity. |
lineweight | the lineweight to be set for the entity. |
Definition at line 1916 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::lineweight.
Referenced by dxf_ellipse_init().
char* dxf_ellipse_get_plot_style_name | ( | DxfEllipse * | ellipse | ) |
Get the plot_style_name
from a DXF ELLIPSE
entity.
plot_style_name
when sucessful, or NULL
when an error occurred. ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 1950 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::plot_style_name.
DxfEllipse* dxf_ellipse_set_plot_style_name | ( | DxfEllipse * | ellipse, |
char * | plot_style_name | ||
) |
Set the plot_style_name
for a DXF ELLIPSE
entity.
ellipse
when successful, or NULL
when an error occurred. ellipse | a pointer to a DXF ELLIPSE entity. |
plot_style_name | a string containing the plot_style_name for the entity. |
Definition at line 1988 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::plot_style_name.
Referenced by dxf_ellipse_init().
long dxf_ellipse_get_color_value | ( | DxfEllipse * | ellipse | ) |
Get the color_value
from a DXF ELLIPSE
entity.
color_value
when successful, or EXIT_FAILURE
when an error occurred. ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 2030 of file ellipse.c.
References _, dxf_ellipse_struct::color_value, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
DxfEllipse* dxf_ellipse_set_color_value | ( | DxfEllipse * | ellipse, |
long | color_value | ||
) |
Set the color_value
for a DXF ELLIPSE
entity.
ellipse
when successful, or NULL
when an error occurred. ellipse | a pointer to a DXF ELLIPSE entity. |
color_value | the color_value to be set for the entity. |
Definition at line 2061 of file ellipse.c.
References _, dxf_ellipse_struct::color_value, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_ellipse_init().
char* dxf_ellipse_get_color_name | ( | DxfEllipse * | ellipse | ) |
Get the color_name
from a DXF ELLIPSE
entity.
color_name
when sucessful, or NULL
when an error occurred. ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 2095 of file ellipse.c.
References _, dxf_ellipse_struct::color_name, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
DxfEllipse* dxf_ellipse_set_color_name | ( | DxfEllipse * | ellipse, |
char * | color_name | ||
) |
Set the color_name
for a DXF ELLIPSE
entity.
ellipse
when successful, or NULL
when an error occurred. ellipse | a pointer to a DXF ELLIPSE entity. |
color_name | a string containing the color_name for the entity. |
Definition at line 2133 of file ellipse.c.
References _, dxf_ellipse_struct::color_name, DXF_DEBUG_BEGIN, and DXF_DEBUG_END.
Referenced by dxf_ellipse_init().
long dxf_ellipse_get_transparency | ( | DxfEllipse * | ellipse | ) |
Get the transparency
from a DXF ELLIPSE
entity.
transparency
when successful, or EXIT_FAILURE
when an error occurred. ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 2175 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::transparency.
DxfEllipse* dxf_ellipse_set_transparency | ( | DxfEllipse * | ellipse, |
long | transparency | ||
) |
Set the transparency
for a DXF ELLIPSE
entity.
ellipse
when successful, or NULL
when an error occurred. ellipse | a pointer to a DXF ELLIPSE entity. |
transparency | the transparency to be set for the entity. |
Definition at line 2206 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::transparency.
Referenced by dxf_ellipse_init().
DxfPoint* dxf_ellipse_get_p0 | ( | DxfEllipse * | ellipse | ) |
Get the center point p0
of a DXF ELLIPSE
entity.
p0
. ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 2239 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::p0.
Referenced by dxf_ellipse_init().
DxfEllipse* dxf_ellipse_set_p0 | ( | DxfEllipse * | ellipse, |
DxfPoint * | p0 | ||
) |
Set the center point p0
of a DXF ELLIPSE
entity.
ELLIPSE
entity. ellipse | a pointer to a DXF ELLIPSE entity. |
p0 | a pointer to a DXF POINT entity. |
Definition at line 2276 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::p0.
Referenced by dxf_ellipse_init().
double dxf_ellipse_get_x0 | ( | DxfEllipse * | ellipse | ) |
Get the X-value of the center point x0
of a DXF ELLIPSE
entity.
x0
. ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 2317 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_ellipse_struct::p0, and dxf_point_struct::x0.
DxfEllipse* dxf_ellipse_set_x0 | ( | DxfEllipse * | ellipse, |
double | x0 | ||
) |
Set the X-value of the center point x0
of a DXF ELLIPSE
entity.
ellipse
when successful, or NULL
when an error occurred. ellipse | a pointer to a DXF ELLIPSE entity. |
x0 | the X-value of the center point x0 of a DXF ELLIPSE entity. |
Definition at line 2357 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_ellipse_struct::p0, dxf_ellipse_struct::x0, and dxf_point_struct::x0.
Referenced by dxf_ellipse_init().
double dxf_ellipse_get_y0 | ( | DxfEllipse * | ellipse | ) |
Get the Y-value of the center point y0
of a DXF ELLIPSE
entity.
y0
. ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 2399 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_ellipse_struct::p0, and dxf_point_struct::y0.
DxfEllipse* dxf_ellipse_set_y0 | ( | DxfEllipse * | ellipse, |
double | y0 | ||
) |
Set the Y-value of the center point y0
of a DXF ELLIPSE
entity.
ellipse
when successful, or NULL
when an error occurred. ellipse | a pointer to a DXF ELLIPSE entity. |
y0 | the Y-value of the center point y0 of a DXF ELLIPSE entity. |
Definition at line 2439 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_ellipse_struct::p0, dxf_ellipse_struct::y0, and dxf_point_struct::y0.
Referenced by dxf_ellipse_init().
double dxf_ellipse_get_z0 | ( | DxfEllipse * | ellipse | ) |
Get the Z-value of the center point z0
of a DXF ELLIPSE
entity.
z0
. ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 2481 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_ellipse_struct::p0, and dxf_point_struct::z0.
DxfEllipse* dxf_ellipse_set_z0 | ( | DxfEllipse * | ellipse, |
double | z0 | ||
) |
Set the Z-value of the center point z0
of a DXF ELLIPSE
entity.
ellipse
when successful, or NULL
when an error occurred. ellipse | a pointer to a DXF ELLIPSE entity. |
z0 | the Z-value of the center point z0 of a DXF ELLIPSE entity. |
Definition at line 2521 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_ellipse_struct::p0, dxf_ellipse_struct::z0, and dxf_point_struct::z0.
Referenced by dxf_ellipse_init().
DxfPoint* dxf_ellipse_get_p1 | ( | DxfEllipse * | ellipse | ) |
Get the end point of the major axis p1
(relative to the center) of a DXF ELLIPSE
entity.
p1
. ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 2563 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::p1.
Referenced by dxf_ellipse_init().
DxfEllipse* dxf_ellipse_set_p1 | ( | DxfEllipse * | ellipse, |
DxfPoint * | p1 | ||
) |
Set the endpoint of the major axis p1
(relative to the center) of a DXF ELLIPSE
entity.
ELLIPSE
entity. ellipse | a pointer to a DXF ELLIPSE entity. |
p1 | a pointer to a DXF POINT entity. |
Definition at line 2594 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::p1.
Referenced by dxf_ellipse_init().
double dxf_ellipse_get_x1 | ( | DxfEllipse * | ellipse | ) |
Get the X-value x1
of the endpoint of the major axis (relative to the center) of a DXF ELLIPSE
entity.
x1
. ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 2635 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_ellipse_struct::p1, and dxf_point_struct::x0.
DxfEllipse* dxf_ellipse_set_x1 | ( | DxfEllipse * | ellipse, |
double | x1 | ||
) |
Set the X-value x1
of the endpoint of the major axis (relative to the center) of a DXF ELLIPSE
entity.
ellipse
when successful, or NULL
when an error occurred. ellipse | a pointer to a DXF ELLIPSE entity. |
x1 | the X-value x1 of a DXF ELLIPSE entity. |
Definition at line 2675 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_ellipse_struct::p1, dxf_point_struct::x0, and dxf_ellipse_struct::x1.
Referenced by dxf_ellipse_init().
double dxf_ellipse_get_y1 | ( | DxfEllipse * | ellipse | ) |
Get the Y-value y1
of the endpoint of the major axis (relative to the center) of a DXF ELLIPSE
entity.
y1
. ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 2716 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_ellipse_struct::p1, and dxf_point_struct::y0.
DxfEllipse* dxf_ellipse_set_y1 | ( | DxfEllipse * | ellipse, |
double | y1 | ||
) |
Set the Y-value y1
of the endpoint of the major axis (relative to the center) of a DXF ELLIPSE
entity.
ellipse
when successful, or NULL
when an error occurred. ellipse | a pointer to a DXF ELLIPSE entity. |
y1 | the Y-value y1 of a DXF ELLIPSE entity. |
Definition at line 2756 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_ellipse_struct::p1, dxf_point_struct::y0, and dxf_ellipse_struct::y1.
Referenced by dxf_ellipse_init().
double dxf_ellipse_get_z1 | ( | DxfEllipse * | ellipse | ) |
Get the Z-value z1
of the endpoint of the major axis (relative to the center) of a DXF ELLIPSE
entity.
z1
. ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 2797 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_ellipse_struct::p1, and dxf_point_struct::z0.
DxfEllipse* dxf_ellipse_set_z1 | ( | DxfEllipse * | ellipse, |
double | z1 | ||
) |
Set the Z-value z1
of the endpoint of the major axis (relative to the center) of a DXF ELLIPSE
entity.
ellipse
when successful, or NULL
when an error occurred. ellipse | a pointer to a DXF ELLIPSE entity. |
z1 | the Z-value z1 of a DXF ELLIPSE entity. |
Definition at line 2837 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_ellipse_struct::p1, dxf_point_struct::z0, and dxf_ellipse_struct::z1.
Referenced by dxf_ellipse_init().
double dxf_ellipse_get_ratio | ( | DxfEllipse * | ellipse | ) |
Get the ratio of minor axis to major axis from a DXF ELLIPSE
entity.
ratio
. ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 2878 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::ratio.
DxfEllipse* dxf_ellipse_set_ratio | ( | DxfEllipse * | ellipse, |
double | ratio | ||
) |
Set the ratio
of a DXF ELLIPSE
entity.
ellipse
when successful, or NULL
when an error occurred. ellipse | a pointer to a DXF ELLIPSE entity. |
ratio | the ratio of a DXF ELLIPSE entity. |
Definition at line 2923 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::ratio.
Referenced by dxf_ellipse_init().
double dxf_ellipse_get_start_angle | ( | DxfEllipse * | ellipse | ) |
Get the start angle from a DXF ELLIPSE
entity.
ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 2956 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::start_angle.
DxfEllipse* dxf_ellipse_set_start_angle | ( | DxfEllipse * | ellipse, |
double | start_angle | ||
) |
Set the start angle for a DXF ELLIPSE
entity.
ellipse | a pointer to a DXF ELLIPSE entity. |
start_angle | the start angle to be set for the entity. |
Definition at line 2984 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::start_angle.
Referenced by dxf_ellipse_init().
double dxf_ellipse_get_end_angle | ( | DxfEllipse * | ellipse | ) |
Get the end angle from a DXF ELLIPSE
entity.
ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 3017 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::end_angle.
DxfEllipse* dxf_ellipse_set_end_angle | ( | DxfEllipse * | ellipse, |
double | end_angle | ||
) |
Set the end angle for a DXF ELLIPSE
entity.
ellipse | a pointer to a DXF ELLIPSE entity. |
end_angle | the end angle to be set for the entity. |
Definition at line 3045 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::end_angle.
Referenced by dxf_ellipse_init().
double dxf_ellipse_get_extr_x0 | ( | DxfEllipse * | ellipse | ) |
Get the X-value of the extrusion vector of a DXF ELLIPSE
entity.
ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 3079 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::extr_x0.
DxfEllipse* dxf_ellipse_set_extr_x0 | ( | DxfEllipse * | ellipse, |
double | extr_x0 | ||
) |
Set the X-value of the extrusion vector of a DXF ELLIPSE
entity.
ELLIPSE
entity when successful, NULL
when an error occurred. ellipse | a pointer to a DXF ELLIPSE entity. |
extr_x0 | the X-value of the extrusion vector of a DXF ELLIPSE entity. |
Definition at line 3112 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::extr_x0.
Referenced by dxf_ellipse_init().
double dxf_ellipse_get_extr_y0 | ( | DxfEllipse * | ellipse | ) |
Get the Y-value of the extrusion vector of a DXF ELLIPSE
entity.
ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 3147 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::extr_y0.
DxfEllipse* dxf_ellipse_set_extr_y0 | ( | DxfEllipse * | ellipse, |
double | extr_y0 | ||
) |
Set the Y-value of the extrusion vector of a DXF ELLIPSE
entity.
ELLIPSE
entity when successful, NULL
when an error occurred. ellipse | a pointer to a DXF ELLIPSE entity. |
extr_y0 | the Y-value of the extrusion vector of a DXF ELLIPSE entity. |
Definition at line 3180 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::extr_y0.
Referenced by dxf_ellipse_init().
double dxf_ellipse_get_extr_z0 | ( | DxfEllipse * | ellipse | ) |
Get the Z-value of the extrusion vector of a DXF ELLIPSE
entity.
ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 3215 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::extr_z0.
DxfEllipse* dxf_ellipse_set_extr_z0 | ( | DxfEllipse * | ellipse, |
double | extr_z0 | ||
) |
Set the Z-value of the extrusion vector of a DXF ELLIPSE
entity.
ELLIPSE
entity when successful, NULL
when an error occurred. ellipse | a pointer to a DXF ELLIPSE entity. |
extr_z0 | the Z-value of the extrusion vector of a DXF ELLIPSE entity. |
Definition at line 3248 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::extr_z0.
Referenced by dxf_ellipse_init().
DxfPoint* dxf_ellipse_get_extrusion_vector_as_point | ( | DxfEllipse * | ellipse | ) |
Get the extrusion vector as a DXF POINT
entity from a DXF ELLIPSE
entity.
POINT
containing the extrusion coordinates.POINT
. ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 3285 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_point_init(), dxf_ellipse_struct::extr_x0, dxf_ellipse_struct::extr_y0, and dxf_ellipse_struct::extr_z0.
DxfEllipse* dxf_ellipse_set_extrusion_vector_from_point | ( | DxfEllipse * | ellipse, |
DxfPoint * | point | ||
) |
Set the extrusion vector from a DXF POINT
for a DXF ELLIPSE
entity.
ellipse | a pointer to a DXF ELLIPSE entity. |
point | a pointer to a DXF POINT entity. |
Definition at line 3327 of file ellipse.c.
References _, DEBUG, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_ellipse_struct::extr_x0, dxf_ellipse_struct::extr_y0, dxf_ellipse_struct::extr_z0, dxf_point_struct::x0, dxf_point_struct::y0, and dxf_point_struct::z0.
DxfEllipse* dxf_ellipse_set_extrusion_vector | ( | DxfEllipse * | ellipse, |
double | extr_x0, | ||
double | extr_y0, | ||
double | extr_z0 | ||
) |
Set the extrusion vector for a DXF ELLIPSE
entity.
ellipse | a pointer to a DXF ELLIPSE 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 3367 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, dxf_ellipse_struct::extr_x0, dxf_ellipse_struct::extr_y0, and dxf_ellipse_struct::extr_z0.
DxfEllipse* dxf_ellipse_get_next | ( | DxfEllipse * | ellipse | ) |
Get the pointer to the next ELLIPSE
entity from a DXF ELLIPSE
entity.
ELLIPSE
entity.ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 3409 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::next.
DxfEllipse* dxf_ellipse_set_next | ( | DxfEllipse * | ellipse, |
DxfEllipse * | next | ||
) |
Set the pointer to the next ELLIPSE
for a DXF ELLIPSE
entity.
ellipse | a pointer to a DXF ELLIPSE entity. |
next | a pointer to the next ELLIPSE for the entity. |
Definition at line 3445 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::next.
Referenced by dxf_ellipse_init().
DxfEllipse* dxf_ellipse_get_last | ( | DxfEllipse * | ellipse | ) |
Get the pointer to the last ELLIPSE
entity from a linked list of DXF ELLIPSE
entities.
ELLIPSE
entity.ellipse | a pointer to a DXF ELLIPSE entity. |
Definition at line 3488 of file ellipse.c.
References _, DXF_DEBUG_BEGIN, DXF_DEBUG_END, and dxf_ellipse_struct::next.