git-svn-id: https://svn.osgeo.org/grass/grass/trunk@47534 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -18,7 +18,7 @@
#include <math.h>
#include <grass/gis.h>
#include <grass/raster.h>
-#include <grass/G3d.h>
+#include <grass/raster3d.h>
#include <grass/vector.h>
#include <grass/glocale.h>
#include "local_proto.h"
@@ -16,7 +16,7 @@
*****************************************************************************/
#include <grass/gmath.h>
@@ -20,7 +20,7 @@
#include <string.h>
#include <grass/N_pde.h>
#include "test_gpde_lib.h"
/* prototypes */
#include "manage_local_proto.h"
#include <grass/gstypes.h>
#include "gsget.h"
@@ -22,7 +22,7 @@
#include <grass/gsurf.h>
#define LUCKY 33
@@ -3,7 +3,7 @@
/*---------------------------------------------------------------------------*/
#include <sys/types.h>
#include <unistd.h>
#include "G3d_intern.h"
#include "cachehash.h"
@@ -2,11 +2,11 @@
#include <stdlib.h>
-#ifndef GRASS_G3D_H
+#ifndef GRASS_RASTER3D_H
typedef struct
{
@@ -2,7 +2,7 @@
@@ -1,6 +1,6 @@
#include <stdio.h>
@@ -4,7 +4,7 @@
/*--------------------------------------------------------------------------*/
#include <rpc/types.h>
#include <rpc/xdr.h>
@@ -1,4 +1,4 @@
/*local prototypes */
#include <fcntl.h>
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
#define G_254_SQUARE 64516
#define G_254_TIMES_2 508
#ifndef _TEST_G3D_LIB_H_
#define _TEST_G3D_LIB_H_
/*!
* \brief
@@ -1,7 +1,7 @@
@@ -23,7 +23,7 @@
#define RASTER_TYPE 1
#define RASTER3D_TYPE 2
#ifndef __GLOBALS3_H_
#define __GLOBALS3_H_
extern G3D_Region current_region3;
@@ -7,7 +7,7 @@
#include <grass/btree.h>
#include "globals.h"
#include "globals3.h"
#include "expression.h"
@@ -154,4 +154,4 @@ Based upon r.mfilter, by Michael Shapiro,
U.S.Army Construction Engineering Research Laboratory
<p>
-<i>Last changed: $Date: 2008-08-17 14:27:35 +0100 (Sun, 17 Aug 2008) $</i>
+<i>Last changed: $Date$</i>
#include <grass/config.h>
-#include "grass/G3d.h"
+#include "grass/raster3d.h"
param_type param;
zone_type zone_info;
@@ -21,7 +21,7 @@
/*- param and global variables -----------------------------------------*/
@@ -19,7 +19,7 @@
#define ROW_ORDER_NORTH_TO_SOUTH 1
@@ -33,7 +33,7 @@
#include "binio.h"
#include "v5d.h"
#define MAX(a,b) (a > b ? a : b)
@@ -28,7 +28,7 @@ int format_double(double value, char *buf);
#define printline(x) fprintf (out," | %-74.74s |\n",x)
#include "vizual.h"
@@ -44,7 +44,7 @@
void viz_make_header(file_info * hf, double dmin, double dmax,
#define NO_RESAMPLE
@@ -5,7 +5,7 @@
**************************************************************/
int g3_find_dsp_file(const char *cell, const char *file, const char *mset)
#include "globalDefs.h"
#include "errorHandling.h"
#include "writeVTKData.h"
#include "writeVTKHead.h"
/*- Parameters and global variables -----------------------------------------*/
/*
#define DEBUG1
*/
*
#define TOGGLE(x) ((x) = (x) ? 0 : 1)
int viz_make_header(hf, dmin, dmax, g3reg)
file_info *hf;
#define XDIMYDIM (Headfax->xdim)*(Headfax->ydim)
* Find the a 3dcell in the current mapset
int g3_find_dsp_file(cell, file, mset)
#define COMPARE_PRECISION 0.000000001
@@ -25,7 +25,7 @@
int main(int argc, char *argv[])
#include <grass/dbmi.h>
@@ -39,7 +39,7 @@
#include "userglobs.h"
/* include G3d defs */
#include "oct.h"
#include "surf.h"
@@ -32,7 +32,7 @@
#include <grass/bitmap.h>
@@ -43,7 +43,7 @@
#include "userextern.h"
#include "user.h"
#include "points.h"
#ifndef __USERGLOBS_H__
#define __USERGLOBS_H__
@@ -42,7 +42,7 @@
int point_save(double xmm, double ymm, double zmm, double err)
@@ -15,7 +15,7 @@