| 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(); |