Subversion Repositories gelsvn

Rev

Blame | Last modification | View Log | RSS feed

#ifndef __HMESH_DEFINITIONS_H__
#define __HMESH_DEFINITIONS_H__

//#include <climits>
#include <cstdint>

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

    typedef IndexType HalfedgeIndex;
    typedef IndexType VertexIndex;
    typedef IndexType FaceIndex;
    
    const VertexIndex NULL_VIDX =  UINT32_MAX;
    const HalfedgeIndex NULL_HIDX =  UINT32_MAX; 
    const FaceIndex NULL_FIDX =  UINT32_MAX;
}

#endif

Generated by GNU Enscript 1.6.6.