geometry op• Data kinds: points × primitive → measurement
• Call: import fullseye as fs; fs.ledger.distance_point_line(p, line_pt, d) (to call the implementation directly, import match3d; match3d.distance_point_line(p, line_pt, d); from the registry, ops3d.get("distance_point_line"))
Point-to-line distance.
Returns as a float the length |w − (w·d̂)d̂| of the component of w = p − line_pt orthogonal to the direction d̂ (d is normalised internally; common to 2-D/3-D). p, line_pt, d are numeric 2- or 3-vectors; mixed dimensions raise ValueError. If d is the zero vector, |w| is returned as is. Units are those of the input coordinates.
Uses: eccentricity from the axis of fit_line_3d, the spread of a point cloud about the line of line_from_2points (1 point at a time).
• 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.
• geometry_metrology — py -3.11 examples_3d/geometry_metrology.py
measurement as input)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 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.