angle_between_lines — 3D geometry op

Data kinds: primitivemeasurement

Call: import fullseye as fs; fs.ledger.angle_between_lines(d1, d2) (to call the implementation directly, import match3d; match3d.angle_between_lines(d1, d2); from the registry, ops3d.get("angle_between_lines"))

Usage

The acute angle between two line directions (in degrees).

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

`arccos(|d̂1·d̂2|)` を度で返す(float)。絶対値を取るので [0, 90](向きの前後を区別しない。

鈍角側が要るなら `180 − する)。d1, d2` は方向ベクトル(長さは問わない、内部で単位化)、

数値の 2 または 3 ベクトルで次元の混在は ValueError。零ベクトルは 90 が返る。

用途: `fit_line_3d / line_from_2points` の方向同士の平行度・直角度チェック(0 に近いほど

平行、90 に近いほど直交)。

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 measurement as input)

vol_gaussian_psf · fuse_to_voxel · fresnel_reflectance · snell_angle

Same category (geometry)

line_from_2points · plane_from_3points · angle_3points · angle_between_planes · angle_line_plane · distance_point_plane · distance_point_line · distance_line_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.