lib/openstudio-standards/btap/geometry.rb in openstudio-standards-0.4.0 vs lib/openstudio-standards/btap/geometry.rb in openstudio-standards-0.5.0.rc1
- old
+ new
@@ -2119,11 +2119,11 @@
end
return model
end
# This method will scale the model
- # @param model [OpenStudio::Model::Model] the model object.
+ # @param model [OpenStudio::Model::Model] OpenStudio model object
# @param x [Float] x scalar multiplier.
# @param y [Float] y scalar multiplier.
# @param z [Float] z scalar multiplier.
# @return [OpenStudio::Model::Model] the model object.
def self.scale_model(model, x, y, z)
@@ -2163,10 +2163,10 @@
return 1.0 - (total_net_surface_area / total_gross_surface_area)
end
# This method will rotate the model
- # @param model [OpenStudio::Model::Model] the model object.
+ # @param model [OpenStudio::Model::Model] OpenStudio model object
# @param degrees [Float] rotation value
# @return [OpenStudio::Model::Model] the model object.
def self.rotate_model(model, degrees)
# Identity matrix for setting space origins
t = OpenStudio::Transformation::rotation(OpenStudio::Vector3d.new(0, 0, 1), degrees * Math::PI / 180)