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

Method normalize

src/utilities/geometry/Vector3d.cpp:107–109  ·  view source on GitHub ↗

normalize to one

Source from the content-addressed store, hash-verified

105
106/// normalize to one
107bool Vector3d::normalize() {
108 return setLength(1.0);
109}
110
111/// get a vector which is the reverse of this
112Vector3d Vector3d::reverseVector() const {

Callers 8

isConvexMethod · 0.45
rotationMethod · 0.45
alignZPrimeMethod · 0.45
getOutwardNormalFunction · 0.45
removeCollinearLegacyFunction · 0.45
getAngleFunction · 0.45
PlaneMethod · 0.45
TEST_FFunction · 0.45

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.36