Skip to content

doc(ar2,icp): document the AR2 tracking + ICP public API (#226) - #233

Merged
kalwalt merged 1 commit into
devfrom
doc/api-reference-fields-226
Jul 20, 2026
Merged

doc(ar2,icp): document the AR2 tracking + ICP public API (#226)#233
kalwalt merged 1 commit into
devfrom
doc/api-reference-fields-226

Conversation

@kalwalt

@kalwalt kalwalt commented Jul 20, 2026

Copy link
Copy Markdown
Member

Slice 3a of #226 (field-doc back-fill), split into two PRs per the plan. #226 stays open — the gate + remaining modules land in slice 3b.

Scope — AR2 tracking + ICP pose-refinement layer (~148 items)

  • icp.rs — ICP coordinate / line / data / handle structs (ICP2DCoordT, ICP3DCoordT, ICPHandleT, ICPStereoHandleT, …) + all icp_* functions (icpCore port).
  • ar2/tracking.rsAR2Handle (config + per-frame buffers), the feature/template/image-set structs (AR2Template, AR2FeatureSet, AR2ImageSet, …), the tracking constants, AR2Tracking2DResult, and all ar2_*/helper functions.
  • ar2/surface.rsAR2Surface / AR2SurfaceSet (per-surface pose + tracking state).

Documentation only — no code or signatures changed. Field docs are grounded in the ARToolKit ar2Tracking / icpCore semantics.

Verification

  • cargo rustdoc -W missing_docs: these three files now report 0
  • cargo doc: no new broken intra-doc links in the touched files
  • cargo fmt --check clean; clippy --all-targets --features simd,log-helpers -D warnings clean; cargo test --lib (ar2 + icp) green

Follow-up — slice 3b

types.rs (116) + ar/* + arlog.rs + kpm stragglers, then add the crate-wide #![warn(missing_docs)] gate (it can only be enabled once the whole crate is at zero). Crate-wide count so far: 358 → 180.

🤖 Generated with Claude Code

Slice 3a of the #226 documentation pass — fills the missing_docs on the
AR2 tracking and ICP pose-refinement layer (~148 items):

- icp.rs: ICP coordinate/line/data/handle structs + all icp_* functions
  (icpCore port).
- ar2/tracking.rs: the AR2Handle config + working buffers, the feature /
  template / image-set structs, the tracking constants, AR2Tracking2DResult,
  and all ar2_* / helper functions.
- ar2/surface.rs: AR2Surface / AR2SurfaceSet (per-surface pose + tracking
  state).

Documentation only — no code or signatures changed. The crate-wide
`#![warn(missing_docs)]` gate lands in the follow-up slice once the
remaining modules (types.rs, ar/*, arlog.rs, kpm stragglers) are covered.

Refs #226

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@kalwalt kalwalt added documentation Improvements or additions to documentation enhancement New feature or request labels Jul 20, 2026
@kalwalt kalwalt self-assigned this Jul 20, 2026
@kalwalt kalwalt added this to the Stabilization & DX milestone Jul 20, 2026
@codecov

codecov Bot commented Jul 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@kalwalt
kalwalt merged commit b871289 into dev Jul 20, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant