Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BIMCoderLiang/LNLib
/ LNLIB_XYZ_negative
Function
LNLIB_XYZ_negative
dotnet/CAPI/src/XYZ_CAPI.cpp:68–73 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
66
}
67
68
XYZ_C LNLIB_XYZ_negative(XYZ_C xyz)
69
{
70
LNLib::XYZ va(xyz.x, xyz.y, xyz.z);
71
LNLib::XYZ res = -va;
72
return { res.GetX(), res.GetY(), res.GetZ() };
73
}
74
75
XYZ_C LNLIB_XYZ_multiply(XYZ_C xyz, double scalar)
76
{
Callers
nothing calls this directly
Calls
3
GetX
Method · 0.45
GetY
Method · 0.45
GetZ
Method · 0.45
Tested by
no test coverage detected