refactored the new floorplan
new helper methods/operator toe geo classes
This commit is contained in:
@@ -70,6 +70,12 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
/** grow the bbox by the amount given for each dimension */
|
||||
void grow(const Point2& p) {
|
||||
p1 -= p; // decrease minimum
|
||||
p2 += p; // increase maximum
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
#endif // BBOX2_H
|
||||
|
||||
Reference in New Issue
Block a user