/*
	PointCloudFindNeighborsx.h
*/

#ifndef _POINTCLOUDFLAGNEIGHBORSX_H
#define _POINTCLOUDFLAGNEIGHBORSX_H

#include "../../shared/shared.h"
#include "../../classes/objects/objects.h"

/* local prototypes: */
int PointCloudFindNeighborsx(SeqVec<IssmPDouble>** pflags,double* x, double* y, int nods, double mindistance,double multithread);

/*threading: */
typedef struct{

	double* x;
	double* y;
	int nods;
	double mindistance;
	SeqVec<IssmPDouble>* flags;

} PointCloudFindNeighborsThreadStruct;

void* PointCloudFindNeighborsxt(void* vPointCloudFindNeighborsThreadStruct);

#endif /* _POINTCLOUDFLAGNEIGHBORSX_H */
