intersect_line_plane — 3D geometry op

• 数据种类:primitive → position

• 调用: import fullseye as fs; fs.ledger.intersect_line_plane(line_pt, d, plane_pt, n)(要直接调用实现,import match3d; match3d.intersect_line_plane(line_pt, d, plane_pt, n);从台账取用则 ops3d.get("intersect_line_plane"))

用法

直线 ∩ 平面 → 点(平行时为 None)。

以 t = ((plane_pt − line_pt)·n̂)/(d·n̂) 返回 line_pt + t·d(float 数组)。d 不做单位化(t 以 d 的长度为单位)。若 |d·n̂| < 1e-9 则返回 None(不是异常。使用返回值之前请检查 None)。包含在平面内的直线(距离 0 且平行)也返回 None。参数为数值 2 维或 3 维向量,维数混用则 ValueError。在 2-D 中把 n 当作直线的法线,结果为线与线的交点。

用途: 视线(depth_to_points 的点 − 原点)与 fit_plane_3d 平面的交点、射线与基准面。

参考(示例数据、文献)

• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。

• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。

可运行的示例(实际调用该算子并已验证的样例)

• geometry_metrology — py -3.11 examples_3d/geometry_metrology.py

类型可衔接的下一个算子(可接受 position 作为输入)

refine_peak_newton · refine_translation_lk · refine_lm · fuse_to_voxel

同类别(geometry)

line_from_2points · plane_from_3points · angle_3points · angle_between_lines · angle_between_planes · angle_line_plane · distance_point_plane · distance_point_line


*Provenance: match3d.py — 3D 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.