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

Method centroid

src/model/PlanarSurface.cpp:505–509  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

503 }
504
505 Point3d PlanarSurface_Impl::centroid() const {
506 boost::optional<Point3d> result = getCentroid(this->vertices());
507 OS_ASSERT(result);
508 return *result;
509 }
510
511 std::vector<ModelObject> PlanarSurface_Impl::solarCollectors() const {
512 std::vector<ModelObject> result;

Calls 2

verticesMethod · 0.95
getCentroidFunction · 0.85

Tested by

no test coverage detected