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

Method removeSubSurface

src/model/ShadingControl.cpp:480–488  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

478 }
479
480 bool ShadingControl_Impl::removeSubSurface(const SubSurface& subSurface) {
481 boost::optional<unsigned> idx = subSurfaceIndex(subSurface);
482 if (!idx) {
483 LOG(Warn, "For " << briefDescription() << " cannot remove SubSurface " << subSurface.nameString() << " since it is not part of it.");
484 return false;
485 }
486
487 return removeSubSurface(idx.get());
488 }
489
490 bool ShadingControl_Impl::removeSubSurface(unsigned index) {
491 bool result = false;

Callers 4

removeMethod · 0.80
removeShadingControlMethod · 0.80
TEST_FFunction · 0.80

Calls 3

nameStringMethod · 0.80
eraseExtensibleGroupMethod · 0.80
getMethod · 0.45

Tested by 1

TEST_FFunction · 0.64