ocs_doc_api: read-mostly family bounds (Leader/Mesh/Face3D/MLine/Helix)

- entity_bounds: vertex/point-carrying read-mostly families (Leader.vertices,
  Mesh.vertices, Face3D 4 corners, MLine vertex positions, Helix start point)
  via a points-to-AABB helper. Region/Body/Surface/MultiLeader stay Unsupported.
- IMPLEMENTATION.md: read-mostly bounds done.
- Test read_mostly_family_bounds_leader_and_mesh -> 618 host lib green.
This commit is contained in:
Sebastian committed 2026-09-06 13:46:41 +02:00
1 parent 6997dfe618
commit 28c8e0ef1a
3 files changed
+77 -2

No files matched your search

+6 -2
View File
@@ -106,8 +106,12 @@ tested: 615 host lib + 8 crate unit + 3 spec↔wire consistency tests green.
- **Done:** media/misc families report a **real `kind`** via `GetEntity`
(`RasterImage`, `Table`, `Leader`, `MultiLeader`, `MLine`, `Mesh`, `Helix`,
`Region`, `Body`, `Surface`, `Face3D`, `Dimension`, `Hatch`) instead of "Other";
`RasterImage` has coarse bounds (insertion + u·width + v·height); generic
`delete` works on all. Covered by `phase5_*` test.
generic `delete` works on all. Covered by `phase5_*` test.
- **Done (read-mostly bounds):** `bounds()` now works for the vertex/point-carrying
families — `Leader`, `Mesh`, `Face3D` (4 corners), `MLine` (vertex positions),
`Helix` (start point) — via a points-to-AABB helper (`read_mostly_family_bounds_*`
test). `RasterImage` has 4-corner bounds. `Region`/`Body`/`Surface`/`MultiLeader`
stay `Unsupported` for bounds (complex/nested geometry).
- **Done (typed create):** `create_raster_image(file_path, insertion, u, v, size)`
→ `Operation::CreateRasterImage` (host auto-registers the ImageDefinition), and
`create_table(insertion_point, data[row][col])` → `Operation::CreateTable`