[GRASS-SVN] r49209 - in grass/trunk/include: . defs

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 14 02:43:37 EST 2011


Author: martinl
Date: 2011-11-13 23:43:37 -0800 (Sun, 13 Nov 2011)
New Revision: 49209

Added:
   grass/trunk/include/defs/transform.h
   grass/trunk/include/transform.h
Log:
add missing headers (after major clean up)


Added: grass/trunk/include/defs/transform.h
===================================================================
--- grass/trunk/include/defs/transform.h	                        (rev 0)
+++ grass/trunk/include/defs/transform.h	2011-11-14 07:43:37 UTC (rev 49209)
@@ -0,0 +1,22 @@
+#ifndef GRASS_TRANSFORMDEFS_H
+#define GRASS_TRANSFORMDEFS_H
+
+/* inverse.c */
+int inverse(double[DIM_matrix][DIM_matrix]);
+int isnull(double[DIM_matrix][DIM_matrix]);
+
+/* m_mult.c */
+int m_mult(double[DIM_matrix][DIM_matrix], double *, double *);
+
+/* transform.c */
+int compute_transformation_coef(double *, double *, double *, double *, int *,
+				int);
+int transform_a_into_b(double, double, double *, double *);
+int transform_b_into_a(double, double, double *, double *);
+int residuals_a_predicts_b(double *, double *, double *, double *, int *, int,
+			   double *, double *);
+int residuals_b_predicts_a(double *, double *, double *, double *, int *, int,
+			   double *, double *);
+int print_transform_matrix(void);
+
+#endif


Property changes on: grass/trunk/include/defs/transform.h
___________________________________________________________________
Added: svn:mime-type
   + text/x-chdr
Added: svn:eol-style
   + native

Added: grass/trunk/include/transform.h
===================================================================
--- grass/trunk/include/transform.h	                        (rev 0)
+++ grass/trunk/include/transform.h	2011-11-14 07:43:37 UTC (rev 49209)
@@ -0,0 +1,15 @@
+#ifndef GRASS_TRANSFORM_H
+#define GRASS_TRANSFORM_H
+
+/* This is the definition file for the libtrans functions.
+   These are the tools that move data from one coordinate system into
+   another.
+ */
+/* to give the size of the multi-dim array parameter is necessary here,
+   because DEC's cc V5.6-079 on Digital UNIX V4.0 (Rev. 878) seems to need it
+ */
+#define DIM_matrix 3
+
+#include <grass/defs/transform.h>
+
+#endif


Property changes on: grass/trunk/include/transform.h
___________________________________________________________________
Added: svn:mime-type
   + text/x-chdr
Added: svn:eol-style
   + native



More information about the grass-commit mailing list