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

Method referencePoints

src/model/IlluminanceMap.cpp:254–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252 }
253
254 std::vector<Point3d> IlluminanceMap_Impl::referencePoints() const {
255 std::vector<Point3d> result;
256
257 for (double y : linspace(0, this->yLength(), this->numberofYGridPoints())) {
258 for (double x : linspace(0, this->xLength(), this->numberofXGridPoints())) {
259 result.push_back(Point3d(x, y, 0));
260 }
261 }
262
263 return result;
264 }
265
266 std::vector<Point3d> IlluminanceMap_Impl::corners() const {
267 std::vector<Point3d> result{

Callers 3

getReferencePointsMethod · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls 7

yLengthMethod · 0.95
numberofYGridPointsMethod · 0.95
xLengthMethod · 0.95
numberofXGridPointsMethod · 0.95
linspaceFunction · 0.85
Point3dClass · 0.70
push_backMethod · 0.45

Tested by 2

TEST_FFunction · 0.64
TEST_FFunction · 0.64