proj_points.h

来自「任意给定三维空间的点集」· C头文件 代码 · 共 33 行

H
33
字号
/*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* * proj_points.h - *     Container for projected points.\*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*/#ifndef  __PROJ_POINTS__H#define  __PROJ_POINTS__Hclass  ProjPoints{private:    void  do_projection( ArrPoint3d  & _arr );public:    Point3d  x_vec_n, y_vec_n, z_vec;        ArrPoint2d  arr;    ~ProjPoints() {        arr.term();    }    void  init( ArrPoint3d  & _arr, Point3d  & dir );    void  grid_clean( int  num,                      ArrPoint2dPtr  &  out_arr );    };#else   /* __PROJ_POINTS__H */#error  Header file proj_points.h included twice#endif  /* __PROJ_POINTS__H *//* proj_points.h - End of File ------------------------------------------*/

⌨️ 快捷键说明

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