include/types.h
author Dmitriy Morozov <morozov@cs.duke.edu>
Wed, 31 Jan 2007 16:53:35 -0500
changeset 16 626e2b875d21
parent 5 ee9052408c40
permissions -rw-r--r--
Alpha shapes examples compile with debugging enabled (Added AlphaSimplex3D::boundary())

#ifndef __TYPES_H__
#define __TYPES_H__

#include <limits>

/* Types */
typedef 	bool					Sign;
typedef		short int				Dimension;
const 		Sign	 				POS = true;
const 		Sign					NEG = false;
typedef		double					RealType;
typedef		unsigned int			SizeType;

static RealType Infinity = std::numeric_limits<RealType>::infinity();

typedef 	const unsigned int&		version_type;

#endif // __TYPES_H__