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

Function removeSubSurfaces

src/model/test/SubSurface_GTest.cpp:46–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44using namespace openstudio::model;
45
46void removeSubSurfaces(Surface& surface) {
47 for (SubSurface& s : surface.subSurfaces()) {
48 s.remove();
49 }
50 EXPECT_EQ(0, surface.subSurfaces().size());
51}
52
53void removeSubSurfaces(Model& model) {
54 for (auto& s : model.getConcreteModelObjects<SubSurface>()) {

Callers 1

TEST_FFunction · 0.85

Calls 3

subSurfacesMethod · 0.45
removeMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected