MCPcopy Create free account
hub / github.com/BIMCoderLiang/LNLib / LNLIB_XYZW_distance

Function LNLIB_XYZW_distance

dotnet/CAPI/src/XYZW_CAPI.cpp:73–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73double LNLIB_XYZW_distance(XYZW_C a, XYZW_C b)
74{
75 LNLib::XYZW va(a.wx, a.wy, a.wz, a.w);
76 LNLib::XYZW vb(b.wx, b.wy, b.wz, b.w);
77 return va.Distance(vb);
78}
79
80double LNLIB_XYZW_get_wx(XYZW_C xyzw) { return xyzw.wx; }
81double LNLIB_XYZW_get_wy(XYZW_C xyzw) { return xyzw.wy; }

Callers

nothing calls this directly

Calls 1

DistanceMethod · 0.45

Tested by

no test coverage detected