MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / boundingBox

Method boundingBox

src/model/ShadingSurfaceGroup.cpp:157–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155 }
156
157 openstudio::BoundingBox ShadingSurfaceGroup_Impl::boundingBox() const {
158 BoundingBox result;
159 for (ShadingSurface& shadingSurface : this->shadingSurfaces()) {
160 result.addPoints(shadingSurface.vertices());
161 }
162 return result;
163 }
164
165 std::string ShadingSurfaceGroup_Impl::shadingSurfaceType() const {
166 boost::optional<std::string> value = getString(OS_ShadingSurfaceGroupFields::ShadingSurfaceType, true);

Callers

nothing calls this directly

Calls 3

shadingSurfacesMethod · 0.95
addPointsMethod · 0.80
verticesMethod · 0.45

Tested by

no test coverage detected