MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / operator-

Function operator-

src/utilities/geometry/Vector3d.cpp:97–99  ·  view source on GitHub ↗

negation

Source from the content-addressed store, hash-verified

95
96/// negation
97Vector3d operator-(const Vector3d& vec) {
98 return {-vec.x(), -vec.y(), -vec.z()};
99}
100
101/// multiplication by a scalar
102Vector3d operator*(double mult, const Vector3d& vec) {

Callers

nothing calls this directly

Calls 3

xMethod · 0.45
yMethod · 0.45
zMethod · 0.45

Tested by

no test coverage detected