コード例 #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 InteriorPartitionSurfaceGroup_Impl::boundingBox() const
 {
   BoundingBox result;
   for (InteriorPartitionSurface interiorPartitionSurface : this->interiorPartitionSurfaces()){
     result.addPoints(interiorPartitionSurface.vertices());
   }
   return result;
 }
コード例 #3
0
 openstudio::BoundingBox ShadingSurfaceGroup_Impl::boundingBox() const
 {
   BoundingBox result;
   for (ShadingSurface shadingSurface : this->shadingSurfaces()){
     result.addPoints(shadingSurface.vertices());
   }
   return result;
 }