00001 #ifndef _HASHMAP_H_ 00002 #define _HASHMAP_H_ 00003 00004 #include "common_headers.h" 00005 00006 unsigned long getEdgeIndex (struct Edge* eds [], struct Edge* ed, unsigned int sz); 00007 00008 00009 int insertEdge (struct Edge* eds [], struct Edge* ed, unsigned int sz, int* pos); 00010 00011 int insertEdgeBruteForce (struct Edge* eds [], struct Edge* ed, unsigned int sz); 00012 00013 unsigned long getVertexIndex (struct Vertex* vts [], struct Vertex* vt, unsigned int sz); 00014 00015 int insertVertex (struct Vertex* vts [], struct Vertex* vt, unsigned int sz, int* pos); 00016 00017 unsigned long getFaceIndex (struct Face* fcs [], struct Face* fc, unsigned int sz); 00018 00019 int insertFace (struct Face* fcs [], struct Face* fc, unsigned int sz, int* pos); 00020 00021 #endif