aabb — 3D bounds op

Data kinds: pointsprimitive

Call: import fullseye as fs; fs.ledger.aabb(points) (to call the implementation directly, import pcseg; pcseg.aabb(points); from the registry, ops3d.get("aabb"))

Usage

Axis-aligned bounding box. Returns `(min (3,), max (3,))`.

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

点群の各軸の最小値と最大値をそのまま返す(`P.min(0), P.max(0)`)。返り値は 2 つの (3,)

float64 配列で、順に `(xmin, ymin, zmin)(xmax, ymax, zmax)`(軸の並びは入力の列順)。

箱の大きさは `max - min、中心は (min + max) / 2`。単位は座標の単位。

• `points: (N,3) 以外の形状は ValueError、空の点群も ValueError`(fail-closed)。

• NaN を含む点があると `min / max` が NaN になる(非有限の検査はしない)。

用途: voxel 化(`occupancy_grid / points_to_voxelbounds`)の領域決め、

`obb`(PCA で向きを合わせた箱)との比較。軸に沿わない細長い物体では AABB は大きく余るので、

把持幅の推定には `obbextents` を使う。

Background guides (the physics and conventions behind this op)

blender_interop — Blender との併用 — 形を作って fullseye で測る(軸・単位・正解データの罠)

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)

hull_boundspy -3.11 examples_3d/hull_bounds.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 (bounds)

convex_hull · obb · min_enclosing_sphere


*Provenance: pcseg.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.