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

Function GetTk

src/LNLib/Algorithm/Interpolation.cpp:32–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 }
31
32 XYZ GetTk(const XYZ& qk_1, const XYZ& qk, const XYZ& qk1, const XYZ& qk2)
33 {
34 double ak = Getak(qk_1, qk, qk1, qk2);
35 return ((1 - ak) * qk + ak * qk1).Normalize();
36 }
37}
38
39double LNLib::Interpolation::GetTotalChordLength(const std::vector<XYZ>& throughPoints)

Callers 1

ComputeTangentMethod · 0.85

Calls 2

GetakFunction · 0.85
NormalizeMethod · 0.45

Tested by

no test coverage detected