fullseye

distance_point_plane — 3D geometry op

使い方

点-平面距離(符号なし)。

|(p − plane_pt)·n̂| を float で返す(n は内部で単位化)。符号は捨てるので、面のどちら側か が要るなら (p − plane_pt) @ n̂ を直接計算する。p, plane_pt, n は数値の 2 または 3 ベクトル、次元の混在は ValueError。2-D では n を直線の法線として点-直線距離になる。 零ベクトルの n は 0 を返す。単位は入力座標の単位。 用途: fit_plane_3d / hough_plane_3d の面からの高さ、surface_form_error の点群版 (残差を 1 点ずつ)。

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

実行できる例(この 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_between_planes · angle_line_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.