Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
97
Vector3d operator-(const Vector3d& vec) {
98
return {-vec.x(), -vec.y(), -vec.z()};
99
}
100
101
/// multiplication by a scalar
102
Vector3d operator*(double mult, const Vector3d& vec) {
Callers
nothing calls this directly
Calls
3
x
Method · 0.45
y
Method · 0.45
z
Method · 0.45
Tested by
no test coverage detected