fullseye

arc_length — 3D curve op

使い方

曲線の累積弧長と全長。→ (cumulative (N,), total float)。

順序付き点列 curve (N,3) を index 順に折れ線とみなし、隣接点間のユークリッド距離 を累積する。cumulative[0]=0cumulative[i] = 先頭から i 番目までの折れ線長、 total = cumulative[-1]。単位は座標と同じ。

resample_uniform はこの累積弧長をパラメータに線形補間する。曲率の弧長積分など curvature_torsion と組み合わせるときの ds はこの差分から取る。

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(measurement を入力に取れる)

vol_gaussian_psf · fuse_to_voxel · fresnel_reflectance · snell_angle

同カテゴリ(curve)

curvature_torsion · frenet_frame · resample_uniform · fit_spline_curve


Provenance: curve3d.py — 3D operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

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