From 336a9145bb885e69d3dfe5620b07ecca9ea3b9e8 Mon Sep 17 00:00:00 2001 From: ganovelli Date: Fri, 9 Jul 2004 10:18:49 +0000 Subject: [PATCH] added access functions to vn and tn --- vcg/complex/tetramesh/base.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vcg/complex/tetramesh/base.h b/vcg/complex/tetramesh/base.h index 099a76e6..982dc529 100644 --- a/vcg/complex/tetramesh/base.h +++ b/vcg/complex/tetramesh/base.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.7 2004/06/25 11:27:21 pietroni +added function to access temporary mark for decimation + Revision 1.6 2004/06/01 17:17:29 ganovelli pragma once removed , load ts removed to be put in io_tetramesh @@ -195,6 +198,8 @@ static bool HasTTTopology() { return TetraType::HasTTAdjacency(); } static bool HasVTTopology() { return TetraType::HasVTAdjacency(); } static bool HasTopology() { return HasTTTopology() || HasVTTopology(); } +int & SimplexNumber(){ return tn;} +int & VertexNumber(){ return vn;} /***********************************************/ /** @Functions used for handle the temporany mark of a tetrahedron used in decimation**/ @@ -238,3 +243,4 @@ static bool HasTopology() { return HasTTTopology() || HasVTTopology(); } };//end namespace };//end namespace #endif +