コード例 #1
0
 /// 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;
 }
コード例 #2
0
ファイル: BoundingBox.cpp プロジェクト: pepsi7959/OpenStudio
 void BoundingBox::add(const BoundingBox& other)
 {
   this->addPoints(other.corners());
 }