From 9f2ad693eae7abbd0b4f93db9a76caecf79a759a Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@fe.uni-lj.si> Date: Thu, 24 Apr 2014 14:02:47 +0000 Subject: [PATCH] Kc calculation seems to work. Performance issues persists. --- src/vertex.h | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/vertex.h b/src/vertex.h index 98efff5..cca12ee 100644 --- a/src/vertex.h +++ b/src/vertex.h @@ -1,6 +1,8 @@ #ifndef _VERTEX_H #define _VERTEX_H +ts_bool vertex_list_assign_id(ts_vertex_list *vlist, ts_uint id); + /** @brief Creates initial vertex list * * Allocates memory and initializes the vertices. @@ -24,7 +26,8 @@ ts_bool vtx_set_global_values(ts_vesicle *vesicle); inline ts_double vtx_direct(ts_vertex *vtx1, ts_vertex *vtx2, ts_vertex *vtx3); inline ts_bool vertex_add_tristar(ts_vertex *vtx, ts_triangle *tristarmem); - +inline ts_bool vtx_insert_neighbour(ts_vertex *vtx, ts_vertex *nvtx, ts_vertex *vtxm); +inline ts_bool vtx_remove_tristar(ts_vertex *vtx, ts_triangle *tristar); ts_bool vtx_copy(ts_vertex *cvtx,ts_vertex *ovtx); ts_bool vtx_duplicate(ts_vertex *cvtx, ts_vertex *ovtx); ts_vertex **vtx_neigh_copy(ts_vertex_list *vlist,ts_vertex *ovtx); -- Gitblit v1.9.3