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/geomEdge_2dstring.h,v $
23 * Date : $Date: 2002/12/09 11:51:23 $
24 * Version : $Revision: 1.1.1.1 $
25 * CVS Id : $Id: geomEdge_2dstring.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_EDGE_2DSTRING_HDR
35 #define TINA_GEOM_EDGE_2DSTRING_HDR
36
37 #include <tina/sys/sysDef.h>
38 #include <tina/math/mathDef.h>
39
40 #ifdef __cplusplus
41 extern "C" {
42 #endif /* __cplusplus */
43
44 Vec2 str2_centroid(Tstring * str);
45 void str2_translate(Tstring * str, Vec2 v);
46 void str2_rts(Tstring * str, Vec2 c, Mat2 r, Vec2 t, double s);
47 double str2_area(Tstring * str);
48 void str2_eigen(Tstring * str, double *a, double *b, double *theta);
49 double str2_orientation(Tstring * str);
50 Tstring *str2_copy(Tstring * str);
51 double dd2_arc_length(List *start, List *nextoend);
52 double str2_arc_length(Tstring * str);
53 double dd2_ang_length(List *nextostart, List *nextoend);
54 double str2_ang_length(Tstring * str);
55 void str2_get_vec2_knots(Tstring * str, int n, Vec2 * p);
56 Vec2 str2_point(Tstring *str, double t);
57 void str2_get_interp_vec2_knots(Tstring * str, int n, Vec2 * p);
58 Tstring *str2_fill(Tstring *str);
59 void str2_free(Tstring *str);
60
61 #ifdef __cplusplus
62 }
63 #endif /* __cplusplus */
64
65 #endif /* TINA_GEOM_EDGE_2DSTRING_HDR */
66
67
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.