fullseye

angle_between_planes — 3D geometry op

使い方

2 平面の二面角(法線 n1,n2、度)。

法線同士の角 arccos(|n̂1·n̂2|) を度で返す(float)。絶対値を取るので [0, 90] の鋭角側 (法線の向きに依らない。鈍角側が要るなら 180 −)。0 = 平行、90 = 直交。n1, n2 は 数値の 2 または 3 ベクトル(長さは問わない)、次元の混在は ValueError。零ベクトルは 90 が返る。 用途: fit_plane_3d / hough_plane_3d で取った 2 面の平行度・直角度、intersect_planes の前の平行判定。

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

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

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

vol_gaussian_psf · fuse_to_voxel · fresnel_reflectance · snell_angle

同カテゴリ(geometry)

line_from_2points · plane_from_3points · angle_3points · angle_between_lines · 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.