First time here? Check out the Help page!
1 | initial version |
With Ruby, the constructors would go something like:
points = OpenStudio::Point3dVector.new
points << OpenStudio::Point3d.new(0,1,0)
points << OpenStudio::Point3d.new(1,1,0)
points << OpenStudio::Point3d.new(1,0,0)
points << OpenStudio::Point3d.new(0,0,0)
shadingSurface = OpenStudio::Model::ShadingSurface.new(points, model)