geometry op• 資料種類:points × primitive → measurement
• 呼叫: import fullseye as fs; fs.ledger.distance_point_line(p, line_pt, d)(要直接呼叫實作,import match3d; match3d.distance_point_line(p, line_pt, d);從台帳取用則 ops3d.get("distance_point_line"))
點-直線距離。
以 float 回傳 w = p − line_pt 中與方向 d̂ 正交分量的長度 |w − (w·d̂)d̂| (d 在內部單位化。2-D/3-D 通用)。p, line_pt, d 為數值的 2 或 3 維向量, 維度混用則 ValueError。若 d 為零向量,則原樣回傳 |w|。單位為輸入座標的單位。
用途: 距 fit_line_3d 軸的偏心,點雲相對於 line_from_2points 直線的離散(每次 1 個點)。
• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。
• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。
• geometry_metrology — py -3.11 examples_3d/geometry_metrology.py
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_plane · distance_line_line
*Provenance: match3d.py — 3D 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.