intersect_planes — 3D geometry op

Data kinds: primitiveprimitive

Call: import fullseye as fs; fs.ledger.intersect_planes(p1, n1, p2, n2) (to call the implementation directly, import match3d; match3d.intersect_planes(p1, n1, p2, n2); from the registry, ops3d.get("intersect_planes"))

Usage

Plane ∩ plane → a line (a point on it and a direction). None when they are parallel.

> The detailed description below is the original text — the summary and the headings are translated.

方向 `d = n̂1 × n̂2 を単位化し、n̂1·p = n̂1·p1n̂2·p = n̂2·p2d·p = 0` の 3×3 を

解いて通過点 `p を求める(d·p = 0 なので **原点に最も近い点**)。返り値 (p(3,), d(3,))`。

`|n1 × n2| < 1e-9`(平行・同一面)なら None

引数は数値 3 ベクトル(`np.cross` と 3×3 の solve を使うので 3-D 専用。2-D を渡すと

配列構築で失敗する)。次元の混在は ValueError。

用途: `fit_plane_3d した 2 面の稜線、箱のエッジの抽出 → distance_point_line` でエッジ

からの距離。

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

Runnable examples (verified samples that actually call this op)

geometry_metrologypy -3.11 examples_3d/geometry_metrology.py

Ops the type connects to (they accept primitive as input)

fuse_to_voxel · angle_between_lines · angle_between_planes · angle_line_plane · distance_point_plane · distance_point_line · distance_line_line · distance_segment_segment

Same category (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 operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

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