Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BIMCoderLiang/LNLib
/ LNLIB_XYZ_is_unit
Function
LNLIB_XYZ_is_unit
dotnet/CAPI/src/XYZ_CAPI.cpp:121–125 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
119
}
120
121
int LNLIB_XYZ_is_unit(XYZ_C xyz, double epsilon)
122
{
123
LNLib::XYZ vv(xyz.x, xyz.y, xyz.z);
124
return vv.IsUnit(epsilon) ? 1 : 0;
125
}
126
127
int LNLIB_XYZ_is_almost_equal(XYZ_C a, XYZ_C b, double epsilon)
128
{
Callers
nothing calls this directly
Calls
1
IsUnit
Method · 0.45
Tested by
no test coverage detected