📄 geombase.h
字号:
/****************************************************************** * Core Library Version 1.7, August 2004 * Copyright (c) 1995-2002 Exact Computation Project * * File: geombase.h * Synopsis: * Code that is common to (and included by) geometry2d.h * and geometry3d.h * * Written by * Shubin Zhao (shubinz@cs.nyu.edu) (2001) * * WWW URL: http://cs.nyu.edu/exact/ * Email: exact@cs.nyu.edu * * $Id: geombase.h 37060 2007-03-13 18:10:39Z reichel $ *****************************************************************/#ifndef CORE_GEOMETRY_H#define CORE_GEOMETRY_H#include <CGAL/CORE/CORE.h>//base class for geom2d and geom3d classesclass GeomObj {public: // Exceptions class Exception { public: virtual void print_message( char* msg ) { std::cerr << msg <<std::endl; } }; class NoIntersection : public Exception { }; class IllegalOperation : public Exception { }; virtual int dim() const { return -1; }}; //class GeomObj#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -