distance_point_plane — 3D geometry op

• Data kinds: points × primitive → measurement

• Call: import fullseye as fs; fs.ledger.distance_point_plane(p, plane_pt, n) (to call the implementation directly, import match3d; match3d.distance_point_plane(p, plane_pt, n); from the registry, ops3d.get("distance_point_plane"))

Usage

Point-to-plane distance (unsigned).

Returns |(p − plane_pt)·n̂| as a float (n is normalised internally). The sign is discarded, so if you need which side of the plane the point is on, compute (p − plane_pt) @ n̂ directly. p, plane_pt, n are numeric 2- or 3-vectors; mixed dimensions raise ValueError. In 2-D, n acts as the normal of a line and this becomes the point-line distance. A zero-vector n returns 0. Units are those of the input coordinates.

Uses: height above the plane of fit_plane_3d / hough_plane_3d, the point-cloud version of surface_form_error (the residual 1 point at a time).

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_metrology — py -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_lines · angle_between_planes · angle_line_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.