Implemented avoid_crossing_perimeters with VisiLibity

This commit is contained in:
Alessandro Ranellucci 2014-05-13 20:06:01 +02:00
parent a02a7f1a0f
commit 5fe5021fd7
19 changed files with 6216 additions and 13 deletions

View file

@ -58,6 +58,14 @@ BoundingBox::polygon(Polygon* polygon) const
polygon->points[3].y = this->max.y;
}
Polygon
BoundingBox::polygon() const
{
Polygon p;
this->polygon(&p);
return p;
}
template <class PointClass> void
BoundingBoxBase<PointClass>::scale(double factor)
{