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/geomSpline_ucbs2.h,v $
23 * Date : $Date: 2002/12/09 11:51:23 $
24 * Version : $Revision: 1.1.1.1 $
25 * CVS Id : $Id: geomSpline_ucbs2.h,v 1.1.1.1 2002/12/09 11:51:23 cvstina Exp $
26 *
27 * Author : Legacy TINA
28 *
29 * Notes :
30 *
31 *********
32 */
33
34 #ifndef TINA_GEOM_SPLINE_UCBS2_HDR
35 #define TINA_GEOM_SPLINE_UCBS2_HDR
36
37 #include <tina/sys/sysDef.h>
38 #include <tina/math/mathDef.h>
39 #include <tina/geometry/geom_SplineDef.h>
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif /* __cplusplus */
44
45 void ucbs2_basis_val(double u, double *b0, double *b1, double *b2, double *b3);
46 Vec2 ucbs2_eval(Ucbs2 * ucbs, double t);
47 void ucbs_set_resolution(double res);
48 double ucbs2_closest_param_to(Ucbs2 * ucbs, Vec2 v, int i);
49 double ucbs2_param(Ucbs2 * ucbs, Vec2 v);
50 Ucbs2 *ucbs2_make(int type, int n);
51 Ucbs2 *ucbs2_copy(Ucbs2 * old);
52 void ucbs2_free(Ucbs2 * ucbs);
53 void ucbs2_end_conditions(Ucbs2 * ucbs);
54 void ucbs2_interpolate(Ucbs2 * ucbs, double *x, double *y);
55 void ucbs2_delete_control(Ucbs2 * ucbs, int t);
56 void ucbs2_add_control(Ucbs2 * ucbs, int t, Vec2 vt);
57 void ucbs2_add_point(Ucbs2 * ucbs, int t, Vec2 vt);
58 void ucbs2_delete_point(Ucbs2 * ucbs, int t);
59 void ucbs2_replace_point(Ucbs2 * ucbs, int ip, Vec2 p);
60 Ucbs2 *ucbs2_interpolate_list(int type, List * points);
61 void ucbs2_interpolate_kwsnake(Ucbs2 * ucbs, Kwsnake * kwsnake, int *mask);
62 Ucbs2 *ucbs2_of_str2(Tstring * es, int ds);
63 Tstring *str2_of_ucbs2(Ucbs2 * ucbs);
64
65 #ifdef __cplusplus
66 }
67 #endif /* __cplusplus */
68
69 #endif /* TINA_GEOM_SPLINE_UCBS2_HDR */
70
71
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.