Subversion Repositories gelsvn

Rev

Blame | Last modification | View Log | RSS feed

#ifndef __HMESH_DEFINITIONS_H__
#define __HMESH_DEFINITIONS_H__

#include <climits>

namespace HMesh
{
    /** 
        Definitions of the indice types for vertices, halfedges and faces.
        Used to access and keep track of elements in manifold arrays.
    */
        typedef unsigned int uint;

    typedef uint Hidx;
    typedef uint Vidx;
    typedef uint Fidx;
    typedef int TouchType;

    const Vidx NULL_VERTEX_IDX = UINT_MAX;
    const Hidx NULL_HALFEDGE_IDX = UINT_MAX; 
    const Fidx NULL_FACE_IDX = UINT_MAX;
}

#endif  __HMESH_DEFINITIONS_H__

Generated by GNU Enscript 1.6.6.