fullseye

angle_3points — 3D geometry op

使い方

3 点のなす角(頂点 b、度)。∠ABC。

arccos(û·v̂)(u = a − b, v = c − b)を度で返す(float)。値は [0, 180] で符号は 無い(2-D でも回転の向きは区別しない)。引数は数値の 2 または 3 ベクトル、次元の混在は ValueError。a == bc == b だと零ベクトルの内積 0 で 90 が返る(例外は出ない)。 内積は [−1,1] に clip するので数値誤差で NaN にはならない。 用途: 曲げ角・関節角の計測、fit_line_3d で得た 2 直線の交点まわりの角度。

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

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

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

vol_gaussian_psf · fuse_to_voxel · fresnel_reflectance · snell_angle

同カテゴリ(geometry)

line_from_2points · plane_from_3points · angle_between_lines · angle_between_planes · angle_line_plane · distance_point_plane · distance_point_line · distance_line_line


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

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