resolved 1 bug in getBBox function

This commit is contained in:
Nico Pietroni 2012-06-25 16:14:57 +00:00
parent 670799b8fe
commit aee1bedb59
1 changed files with 3 additions and 3 deletions

View File

@ -46,8 +46,8 @@ public:
void GetBBox(vcg::Box2<ScalarType> &BB2)
{
BB2.SetNull();
BB2.Add(P0());
//BB2.SetNull();
BB2.Set(P0());
BB2.Add(P1());
}
@ -187,7 +187,7 @@ void GetCloseSegments(MySegmentType *S,
result.clear();
vcg::Box2<MyScalarType> bbox;
S->GetBBox(bbox);
bbox.Offset(radius*1.02);
bbox.Offset(radius);//*1.02);
///then get into the grid
std::vector<MySegmentType*> inbox;