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 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 General Public License for more details.
14 *
15 * You should have received a copy of the GNU 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 * ANY users of TINA who require exemption from the existing licence must
20 * negotiate a new licence with Dr. Neil.A.Thacker, the sole agent for
21 * the University of Manchester.
22 *
23 **********
24 *
25 * Program : TINA
26 * File : $Source: /home/tina/cvs/tina-libs/tina/geometry/geomEdge_2dstring.h,v $
27 * Date : $Date: 2002/12/09 11:51:23 $
28 * Version : $Revision: 1.1.1.1 $
29 * CVS Id : $Id: geomEdge_2dstring.h,v 1.1.1.1 2002/12/09 11:51:23 cvstina Exp $
30 *
31 * Author : Legacy TINA
32 *
33 * Notes :
34 *
35 *********
36 */
37
38 #ifndef TINA_GEOM_EDGE_2DSTRING_HDR
39 #define TINA_GEOM_EDGE_2DSTRING_HDR
40
41 #include <tina/sys/sysDef.h>
42 #include <tina/math/mathDef.h>
43
44 #ifdef __cplusplus
45 extern "C" {
46 #endif /* __cplusplus */
47
48 Vec2 str2_centroid(Tstring * str);
49 void str2_translate(Tstring * str, Vec2 v);
50 void str2_rts(Tstring * str, Vec2 c, Mat2 r, Vec2 t, double s);
51 double str2_area(Tstring * str);
52 void str2_eigen(Tstring * str, double *a, double *b, double *theta);
53 double str2_orientation(Tstring * str);
54 Tstring *str2_copy(Tstring * str);
55 double dd2_arc_length(List *start, List *nextoend);
56 double str2_arc_length(Tstring * str);
57 double dd2_ang_length(List *nextostart, List *nextoend);
58 double str2_ang_length(Tstring * str);
59 void str2_get_vec2_knots(Tstring * str, int n, Vec2 * p);
60 Vec2 str2_point(Tstring *str, double t);
61 void str2_get_interp_vec2_knots(Tstring * str, int n, Vec2 * p);
62 Tstring *str2_fill(Tstring *str);
63 void str2_free(Tstring *str);
64
65 #ifdef __cplusplus
66 }
67 #endif /* __cplusplus */
68
69 #endif /* TINA_GEOM_EDGE_2DSTRING_HDR */
70
71
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.