knn_graph — 3D geodesic op

Data kinds: pointsgraph

Call: import geodesic3d; geodesic3d.knn_graph(points: numpy.ndarray, k: int = 8) -> Tuple[numpy.ndarray, numpy.ndarray] (or ops3d.get("knn_graph"))

Usage

Each point's k nearest-neighbour indices and Euclidean distances (excluding itself). → (idx (N,k) int, dist (N,k) float).

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

Runnable examples (verified samples that actually call this op)

pcl_geodesicpy -3.11 examples_3d/pcl_geodesic.py

Ops the type connects to (they accept graph as input)

fuse_to_voxel

Same category (geodesic)

geodesic_distances · geodesic_mesh · farthest_point_sampling


*Provenance: geodesic3d.py — 3D operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.