#ifndef MESH_UTIL_H #define MESH_UTIL_H #include #include int mergeMeshs(void *meshliteContext, const std::vector &meshIds); int unionMeshs(void *meshliteContext, const std::vector &meshIds, const std::set &inverseIds, int *errorCount=0); int subdivMesh(void *meshliteContext, int meshId, int *errorCount=0); int fixMeshHoles(void *meshliteContext, int meshId); void initMeshUtils(); void *convertToCombinableMesh(void *meshliteContext, int meshId); void *unionCombinableMeshs(void *first, void *second); void *diffCombinableMeshs(void *first, void *second); int convertFromCombinableMesh(void *meshliteContext, void *mesh); void deleteCombinableMesh(void *mesh); void *cloneCombinableMesh(void *mesh); void *convertToCombinableConvexHullMesh(void *meshliteContext, int meshId); #endif