/*
    C++ Mesh Generation Library
    Copyright (c) 2000echet <eric at bechet dot ca>

    This file is part of the C++ Mesh Generation Library.

    See the NOTICE & LICENSE files for conditions.
*/
// Projet de mailleur generique
// Fichier "mesh_const.h"
// Constantes utiles / config (header)
// Version 1.2 (11-2000)
// Compilateur : Microsoft VisualC6 / GNU
// Auteur : Eric Bechet


//---------------------------------------------------------------------------
#ifndef MESH_CONSTH
#define MESH_CONSTH
//---------------------------------------------------------------------------

///
#define PI (3.1415926535897932384626433832795028841971694)
///
#define ERR_OUT_OF_BOUNDS ((int)1)
///
#define ERR_FILE_NOT_FOUND ((int)2)
///
#define BAD_STL_FILE_FORMAT ((int)3)
///
#define BAD_TOPOLOGY ((int)4)
///
#define ERR_OVERFLOW ((int)5)
///
#define VERTEX_COLLISION ((int)6)
///
#define TFACE_OVERFLOW ((int)7)
///
#define NOT_IMPLEMENTED ((int)8)
///
#define GLOBAL_NUMBERING ((int)0)
///
#define TYPE_SENSITIVE_NUMBERING ((int)1)
/// un "double" a 15 chiffres significatifs
#define rounding_factor (0.0)
/// precision au voisinage de 0
#define constant_rounding_factor (1e-5)

/** pour utiliser les hash_tables comme containers (non standard iso)
si problemes de compilation, simplement commenter cette ligne.*/

#ifndef __INTEL_COMPILER
//#define USE_HASH_TABLE
#endif

#endif


 
