| 213 | } |
| 214 | |
| 215 | boost::optional<ShadingSurfaceGroup> ShadingSurface_Impl::shadingSurfaceGroup() const { |
| 216 | boost::optional<ShadingSurfaceGroup> result; |
| 217 | OptionalWorkspaceObject object = this->getTarget(OS_ShadingSurfaceFields::ShadingSurfaceGroupName); |
| 218 | if (object) { |
| 219 | result = object->optionalCast<ShadingSurfaceGroup>(); |
| 220 | } |
| 221 | return result; |
| 222 | } |
| 223 | |
| 224 | bool ShadingSurface_Impl::setShadingSurfaceGroup(const ShadingSurfaceGroup& shadingSurfaceGroup) { |
| 225 | return this->setPointer(OS_ShadingSurfaceFields::ShadingSurfaceGroupName, shadingSurfaceGroup.handle()); |