From 135f5f9ecb013f58cd6c8b818a5943c643868811 Mon Sep 17 00:00:00 2001 From: cignoni Date: Wed, 3 Apr 2013 10:02:19 +0000 Subject: [PATCH] added Outline2VecBBox method --- vcg/complex/algorithms/outline_support.h | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/vcg/complex/algorithms/outline_support.h b/vcg/complex/algorithms/outline_support.h index 4e09927c..370380ee 100644 --- a/vcg/complex/algorithms/outline_support.h +++ b/vcg/complex/algorithms/outline_support.h @@ -63,13 +63,28 @@ public: */ static Box2 Outline2BBox(const std::vector > &outline2) { - Box2 bb; - for(size_t i=0;i bb; + for(size_t i=0;i Outline2VecBBox(const std::vector > > &outline2Vec) + { + Box2 bb; + for(size_t j=0;j > &outline2) {