NVIDIAGameWorks/kaolin

Squared euclidean distance in sided_distance()

Open

#404 opened on Jun 18, 2021

View on GitHub
 (1 comment) (0 reactions) (1 assignee)Python (517 forks)batch import
documentationgood first issuequestion

Repository metrics

Stars
 (3,849 stars)
PR merge metrics
 (Avg merge 14h 27m) (6 merged PRs in 30d)

Description

Hi,

In kaolin/kaolin/metrics/pointcloud.py it says that the sided_distance() method computes

For every point in p1 find the indices and euclidean distances of the closest point in p2.

However, it seems like the underlying _C.metrics.sided_distance_forward_cuda returns the squared euclidean distance. Can you please clarify this?

Thank you

Contributor guide