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

Method setVertices

src/model/SubSurface.cpp:265–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

setVerticesFunction · 0.85
isEmptyFunction · 0.85

Tested by

no test coverage detected