/// apply the transformation to the BoundingBox
 BoundingBox Transformation::operator*(const BoundingBox& boundingBox) const
 {
   BoundingBox result;
   std::vector<Point3d> transformedPoints = (*this)*boundingBox.corners();
   result.addPoints(transformedPoints);
   return result;
 }
Beispiel #2
0
 void BoundingBox::add(const BoundingBox& other)
 {
   this->addPoints(other.corners());
 }