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

Method edgeVector

src/utilities/floorspace/FSModel.cpp:815–819  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

813}
814
815Vector3d FSEdge::edgeVector() const {
816 Point3d pt1(m_vertices[0].x(), m_vertices[0].y(), 0);
817 Point3d pt2(m_vertices[1].x(), m_vertices[1].y(), 0);
818 return (pt2 - pt1);
819}
820
821Point3d FSEdge::vertex(double alpha) const {
822 double x = (1.0 - alpha) * m_vertices[0].x() + alpha * m_vertices[1].x();

Callers 2

createDoorSubsurfaceMethod · 0.80

Calls 2

xMethod · 0.45
yMethod · 0.45

Tested by

no test coverage detected