geometry op• 資料種類:points → primitive
• 呼叫: import fullseye as fs; fs.ledger.plane_from_3points(a, b, c)(要直接呼叫實作,import match3d; match3d.plane_from_3points(a, b, c);從台帳取用則 ops3d.get("plane_from_3points"))
3 點 → 平面(通過點, 單位法線)。三個座標即可確定平面(2D/3D 通用)。
> 以下的詳細說明為原文 —— 摘要與標題已翻譯。
返り値 `(a, n): a は 1 点目、n = (b−a)×(c−a)` を単位化したもの(向きは a→b→c の
右ねじ)。引数は数値の 2 または 3 ベクトル(それ以外・次元の混在は ValueError)。3 点が同一
直線上なら `n` は零ベクトルのまま返る(例外は出ない)。
2 次元の点を渡すと `np.cross がスカラー(符号つき面積の 2 倍)を返すので、n` はベクトルで
なく ±1 のスカラーになる。2-D で線の法線が欲しい場合は `line_from_2points` の方向を 90°
回して使うこと。
後段: `distance_point_plane / intersect_line_plane / intersect_planes` /
`angle_between_planes にこの (a, n) を渡す。点群からは fit_plane_3d`。
• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。
• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。
• geometry_metrology — py -3.11 examples_3d/geometry_metrology.py
primitive 作為輸入)fuse_to_voxel · angle_between_lines · angle_between_planes · angle_line_plane · distance_point_plane · distance_point_line · distance_line_line · distance_segment_segment
geometry)line_from_2points · angle_3points · angle_between_lines · angle_between_planes · angle_line_plane · distance_point_plane · distance_point_line · distance_line_line
*Provenance: match3d.py — 3D 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.