curve oppoints → measurementimport fullseye as fs; fs.ledger.arc_length(curve) (実装を直接呼ぶなら import curve3d; curve3d.arc_length(curve)、台帳から引くなら ops3d.get("arc_length"))fullseye.ledger.arc_length(...) は宣言 out 型 measurement の値だけを返す(本体は補助情報も返す)。捨てられた側が要るときは fullseye.ledger.arc_length.raw(...)、または curve3d.arc_length を直接呼ぶ。
(cumulative, total) → 全長 float曲線の累積弧長と全長。→ (cumulative (N,), total float)。
順序付き点列 curve (N,3) を index 順に折れ線とみなし、隣接点間のユークリッド距離
を累積する。cumulative[0]=0、cumulative[i] = 先頭から i 番目までの折れ線長、
total = cumulative[-1]。単位は座標と同じ。
float に変換されるだけで形状検証は無い(列数が 3 以外でも計算は通る)。cumulative=[0.0]・total=0.0。閉曲線でも終点→始点の区間は数えない
(閉じたい場合は先頭点を末尾に複製してから渡す)。cumulative は単調非減少
だが狭義増加ではない。resample_uniform はこの累積弧長をパラメータに線形補間する。曲率の弧長積分など
curvature_torsion と組み合わせるときの ds はこの差分から取る。
py -3.11 examples_3d/space_curve.pypy -3.11 examples_3d/torus_knot_curve.pymeasurement を入力に取れる)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.