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"))
點-直線距離。
> 以下的詳細說明為原文 —— 摘要與標題已翻譯。
`w = p − line_pt の、方向 d̂ に直交する成分の長さ |w − (w·d̂)d̂|` を float で返す
(`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.