clrange.h

来自「Image Processing, Analysis, and Machine 」· C头文件 代码 · 共 48 行

H
48
字号
/*************************************************************** * *		Range find based closest point finding * *		Shared declarations and definitions * *		Header file: 	clrange.h * *		Author:			Jan Kybic * *		Language:		C * *		25/11/96 * ***************************************************************/#ifndef _CLRANGE_H#define _CLRANGE_Htypedef struct nodestruct  { struct nodestruct *left,*right ;                     DoubleT p[3],min,max ;                     int l ;                     int ind ;                   } NodeT ;  /* one item of a queue */typedef struct queuestruct { NodeT *node ; DoubleT dist ; } QueueT ;typedef struct treestruct { NodeT *root ;			    QueueT *queue ;			  } TreeT ;			  extern int IcpRangeSearchFlag ;   /* use fast, range based closest. pt. searching (1 yes, 0 no) */ long IcpPsetRangeClosestPoint(DoubleT pnt1[],ShapeT *shp,DoubleT rPoint[],TreeT *tree) ;/* Prepare resp. close the internal representation of the point set   to speed up consecutive searches */    TreeT *IcpRangeSearchInit(ShapeT *shp) ;void IcpRangeSearchClose(TreeT *t) ;#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?