Definition at line 77 of file AVR_PoseNaturalizationFilter.cs. 79 // TODO: we are sorting the whole list here but only want the first k items. -> Needless performance cost.
80 List<Vector3> kn = _refpoints.OrderBy(item => Vector3.Distance(item, p)).Take(Mathf.Min(take_k, _refpoints.Count)).ToList();
int take_k How many points to incorporate into the weighted average. Definition: AVR_PoseNaturalizationFilter.cs:31 |