| 263 | } |
| 264 | |
| 265 | bool SubSurface_Impl::setVertices(const std::vector<Point3d>& vertices) { |
| 266 | bool result = PlanarSurface_Impl::setVertices(vertices); |
| 267 | |
| 268 | if (isEmpty(OS_SubSurfaceFields::SubSurfaceType)) { |
| 269 | if (result) { |
| 270 | this->assignDefaultSubSurfaceType(); |
| 271 | } else { |
| 272 | LOG(Error, "Cannot compute default SubSurface properties."); |
| 273 | } |
| 274 | } |
| 275 | |
| 276 | return result; |
| 277 | } |
| 278 | |
| 279 | bool SubSurface_Impl::setConstruction(const ConstructionBase& construction) { |
| 280 | bool result = setPointer(OS_SubSurfaceFields::ConstructionName, construction.handle()); |
nothing calls this directly
no test coverage detected