1 /**********
2 *
3 * This file is part of the TINA Open Source Image Analysis Environment
4 * henceforth known as TINA
5 *
6 * TINA is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU Lesser General Public License as
8 * published by the Free Software Foundation.
9 *
10 * TINA is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public License
16 * along with TINA; if not, write to the Free Software Foundation, Inc.,
17 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 *
19 **********
20 *
21 * Program : TINA
22 * File : $Source: /home/tina/cvs/tina-libs/tina/geometry/geomCurve_conic3.h,v $
23 * Date : $Date: 2008/10/30 09:43:59 $
24 * Version : $Revision: 1.3 $
25 * CVS Id : $Id: geomCurve_conic3.h,v 1.3 2008/10/30 09:43:59 neil Exp $
26 *
27 * Author : Legacy TINA
28 *
29 * Notes :
30 *
31 *********
32 */
33
34 #ifndef TINA_GEOM_CURVE_CONIC3_HDR
35 #define TINA_GEOM_CURVE_CONIC3_HDR
36
37 #include <tina/sys/sysDef.h>
38 #include <tina/math/mathDef.h>
39 #include <tina/geometry/geom_CurveDef.h>
40 #include <tina/geometry/geom_PlaneDef.h>
41
42 #ifdef __cplusplus
43 extern "C" {
44 #endif /* __cplusplus */
45
46 Conic3 *conic3_alloc(unsigned int type);
47 Conic3 *conic3_copy(Conic3 * con3);
48 void conic3_free(Conic3 * con3);
49 Conic3 *conic3_make(Conic * con2, Vec3 o, Vec3 ex, Vec3 ey, Vec3 ez);
50 void conic3_transform(Conic3 * conic, Transform3 trans);
51 Vec3 conic3_point(Conic3 * con3, double t);
52 double conic3_param(Conic3 * con3, Vec3 p3);
53 double conic3_parameter_offset(Conic3 * c1, Conic3 * c2);
54 Bool conic3_overlap(Conic3 * c1, Conic3 * c2, float *t1, float *t2);
55 Bool conic3_coincident(Conic3 * c1, Conic3 * c2, double doterror, double poserror);
56 Bool conic3_within_error(Conic3 * c1, Conic3 * c2);
57 void conic3_negate(Conic3 * con3);
58 Conic3 *conic3_negative(Conic3 * con3);
59 Conic3 *conic_par_proj_to_plane(Conic * conic, Plane * plane);
60 void conic3_shift_origin_to_center(Conic3 * con3);
61 Conic3 *conic3_from_conic2(Conic * conic, double fit_thres);
62 List *conic3_from_conic2_rect(Conic * conic, double fit_thres);
63 void conic3_format(Conic3 * conic);
64
65
66 #ifdef __cplusplus
67 }
68 #endif /* __cplusplus */
69
70 #endif /* TINA_GEOM_CURVE_CONIC3_HDR */
71
72
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.