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

Method length

src/utilities/geometry/Vector3d.cpp:117–119  ·  view source on GitHub ↗

get length

Source from the content-addressed store, hash-verified

115
116/// get length
117double Vector3d::length() const {
118 return norm_2(m_storage);
119}
120
121/// set length
122bool Vector3d::setLength(double newLength) {

Callers 14

getAreaFunction · 0.45
removeCollinearLegacyFunction · 0.45
getLinearAlphaFunction · 0.45
pointOnPlaneMethod · 0.45
TEST_FFunction · 0.45
pointEqualFunction · 0.45
vectorEqualFunction · 0.45
checksumFunction · 0.45
toPathFunction · 0.45
checksum_directFunction · 0.45

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.36