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

Function Getak

src/LNLib/Algorithm/Interpolation.cpp:27–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 }
26
27 double Getak(const XYZ& qk_1, const XYZ& qk, const XYZ& qk1, const XYZ& qk2)
28 {
29 return (qk_1.CrossProduct(qk)).Length() / ((qk_1.CrossProduct(qk).Length()) + (qk1.CrossProduct(qk2)).Length());
30 }
31
32 XYZ GetTk(const XYZ& qk_1, const XYZ& qk, const XYZ& qk1, const XYZ& qk2)
33 {

Callers 1

GetTkFunction · 0.85

Calls 2

LengthMethod · 0.45
CrossProductMethod · 0.45

Tested by

no test coverage detected