Kernel
A geometry kernel for the web: exact 2D and 3D construction, measurement and typed calls for agents, in one TypeScript package.
The package is @havn-earth/kernel, version 0.16.0. Every call returns a result or a coded error; none of them changes the host’s document.
Functions by topic
| Topic | Functions | Start with |
|---|---|---|
| Foundations | 78 | point2.of |
| Meshes | 27 | mesh.fromFaces |
| 2D polygons and regions | 39 | polygon2.of |
| NURBS curves and surfaces | 28 | nurbsCurve.create |
| Selectors and queries | 3 | selection.parse |
| Surface samples | 6 | samples.scatter |
| Roles and lineage | 5 | roles.inspect |
| Form facts and relations | 2 | form.measure |
| Sources | 4 | sources.box |
| Transforms and merge | 4 | geometryOps.translate |
| Mesh edits | 10 | meshEdits.extrude |
Agents call the kernel through verbs; every error is listed under diagnostics, and every call keeps the rules.