/// 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; }
void BoundingBox::add(const BoundingBox& other) { this->addPoints(other.corners()); }