Ice Sheet System Model
4.18
Code documentation
src
wrappers
PointCloudFindNeighbors
PointCloudFindNeighbors.h
Go to the documentation of this file.
1
/*
2
PointCloudFindNeighbors.h
3
*/
4
5
#ifndef _POINTCLOUDFINDNEIGHBORS_H
6
#define _POINTCLOUDFINDNEIGHBORS_H
7
8
#ifdef HAVE_CONFIG_H
9
#include <config.h>
10
#else
11
#error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
12
#endif
13
14
/*For python modules: needs to come before header files inclusion*/
15
#ifdef _HAVE_PYTHON_
16
#define PY_ARRAY_UNIQUE_SYMBOL PythonIOSymbol
17
#endif
18
19
#include "../bindings.h"
20
#include "../../c/main/globals.h"
21
#include "../../c/modules/modules.h"
22
#include "../../c/shared/shared.h"
23
24
#undef __FUNCT__
25
#define __FUNCT__ "PointCloudFindNeighbors"
26
27
#ifdef _HAVE_MATLAB_MODULES_
28
/* input macros: */
29
#define XHANDLE prhs[0]
30
#define YHANDLE prhs[1]
31
#define MINDISTANCE prhs[2]
32
#define MULTITHREAD prhs[3]
33
/* serial output macros: */
34
#define FLAGS (mxArray**)&plhs[0]
35
#endif
36
37
#ifdef _HAVE_PYTHON_MODULES_
38
/* input macros: */
39
#define XHANDLE PyTuple_GetItem(args,0)
40
#define YHANDLE PyTuple_GetItem(args,1)
41
#define MINDISTANCE PyTuple_GetItem(args,2)
42
#define MULTITHREAD PyTuple_GetItem(args,3)
43
/* serial output macros: */
44
#define FLAGS output,0
45
#endif
46
47
/* serial arg counts: */
48
#undef NLHS
49
#define NLHS 1
50
#undef NRHS
51
#define NRHS 4
52
53
#endif
/* _POINTCLOUDFINDNEIGHBORS_H */
Generated on Thu Jul 2 2020 08:09:23 for Ice Sheet System Model by
1.8.19