distance.h
来自「任意给定三维空间的点集」· C头文件 代码 · 共 31 行
H
31 行
/*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* * distance.h - * \*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*/#ifndef __DISTANCE__H#define __DISTANCE__H#define DISTANCE_REG 0#define DISTANCE_INV_COS 1class PseudoVertex;class DistanceFunction {private: int mode;public: void init( int modex ) { mode = modex; } double computeDistance( PseudoVertex * v, PseudoVertex * u );};#else /* __DISTANCE__H */#error Header file distance.h included twice#endif /* __DISTANCE__H *//* distance.h - End of File ------------------------------------------*/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?