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

Method space

src/model/ShadingSurfaceGroup.cpp:275–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273 }
274
275 boost::optional<Space> ShadingSurfaceGroup_Impl::space() const {
276 boost::optional<Space> result;
277 OptionalWorkspaceObject space = getTarget(OS_ShadingSurfaceGroupFields::SpaceName);
278 if (space) {
279 result = space->optionalCast<Space>();
280 }
281 return result;
282 }
283
284 bool ShadingSurfaceGroup_Impl::setSpace(const Space& space) {
285 bool result = setPointer(OS_ShadingSurfaceGroupFields::SpaceName, space.handle());

Callers 6

parentMethod · 0.95
setShadingSurfaceTypeMethod · 0.95
setShadedSubSurfaceMethod · 0.95
setShadedSurfaceMethod · 0.95
setSpaceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected