From 48818b4e40b8b9bd8aea19c20eb318ddcbddec9e Mon Sep 17 00:00:00 2001 From: gianpaolopalma Date: Tue, 18 Oct 2016 13:38:10 +0200 Subject: [PATCH] Added functions for FaceType in the EmptyTMark class --- vcg/complex/algorithms/closest.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vcg/complex/algorithms/closest.h b/vcg/complex/algorithms/closest.h index f98f48d1..062404d0 100644 --- a/vcg/complex/algorithms/closest.h +++ b/vcg/complex/algorithms/closest.h @@ -82,7 +82,8 @@ namespace vcg { { public: typedef typename MESH_TYPE::VertexType VertexType; - typedef typename MESH_TYPE::EdgeType EdgeType; + typedef typename MESH_TYPE::EdgeType EdgeType; + typedef typename MESH_TYPE::FaceType FaceType; inline EmptyTMark(){} inline EmptyTMark(MESH_TYPE *){} inline void UnMarkAll() const {} @@ -90,6 +91,8 @@ namespace vcg { inline void Mark(VertexType*) const {} inline bool IsMarked(EdgeType*) const { return false; } inline void Mark(EdgeType*) const {} + inline bool IsMarked(FaceType*) const { return false; } + inline void Mark(FaceType*) const {} inline void SetMesh(void * /*m=0*/) const {} };