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

Function LNLIB_XYZ_cross_product

dotnet/CAPI/src/XYZ_CAPI.cpp:149–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149XYZ_C LNLIB_XYZ_cross_product(XYZ_C a, XYZ_C b)
150{
151 LNLib::XYZ va(a.x, a.y, a.z);
152 LNLib::XYZ vb(b.x, b.y, b.z);
153 LNLib::XYZ res = va.CrossProduct(vb);
154 return { res.GetX(), res.GetY(), res.GetZ() };
155}
156
157double LNLIB_XYZ_distance(XYZ_C a, XYZ_C b)
158{

Callers

nothing calls this directly

Calls 4

CrossProductMethod · 0.45
GetXMethod · 0.45
GetYMethod · 0.45
GetZMethod · 0.45

Tested by

no test coverage detected