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

Method shadedSurface

src/model/ShadingSurfaceGroup.cpp:337–344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

335 }
336
337 boost::optional<Surface> ShadingSurfaceGroup_Impl::shadedSurface() const {
338 boost::optional<Surface> result;
339 OptionalWorkspaceObject surface = getTarget(OS_ShadingSurfaceGroupFields::ShadedObjectName);
340 if (surface) {
341 result = surface->optionalCast<Surface>();
342 }
343 return result;
344 }
345
346 bool ShadingSurfaceGroup_Impl::setShadedSubSurface(const SubSurface& subSurface) {
347 boost::optional<Space> space = this->space();

Callers 1

mergeSpaceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected