/****************************************************************** * 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$ *****************************************************************/ #ifndef CORE_GEOMETRY_H #define CORE_GEOMETRY_H #include //base class for geom2d and geom3d classes class GeomObj { public: // Exceptions class Exception { public: virtual void print_message( char* msg ) { std::cerr << msg <