BREP_geometry 0.20.0

Geometry layer of the BREP kernel: vectors, tolerances, diagnostics, NURBS curves and surfaces, projection and intersection.
Documentation

BREP_geometry

BREP_geometry holds the geometry layer of the BREP kernel: everything below topology. Its Rust library target is brep_geometry; this is version 0.20.0.

It is one of the implementation crates the kernel is built from. Applications should depend on BREP_kernel, which re-exports the public API of every kernel crate at its root (brep_kernel::…) and adds the feature pipeline and the STEP, IGES, Parasolid (import), 3MF, GLB, STL and OBJ exchange. Many items here are public only so the other kernel crates can reach them; those are hidden from the documentation and carry no stability promise beyond the kernel's own. The kernel crates are released together, at one version.

It contains:

  • vectors, tolerances, diagnostics, runtime switches and text helpers;
  • exact rational NURBS curves and surfaces, curve and surface fitting, Coons and Gordon surfaces;
  • analytic carrier recognition (plane, cylinder, cone, sphere, torus) and sphere charts;
  • point projection onto curves and surfaces;
  • curve/curve, curve/surface and surface/surface intersection, tangent curves and crossing nodes;
  • bounding boxes and bounding-volume hierarchies, planar segment arrangements and polygons;
  • p-curves and offset-point evaluation;
  • small linear-algebra helpers, union-find, and the work-count and timing instruments the kernel reports.

Kernel crates it requires: BREP_RANSAC. It is required by BREP_topology, BREP_surface_offset, BREP_boolean, BREP_solvers, BREP_construction, BREP_blend, BREP_offset, BREP_direct_edit, BREP_kernel.

Building

The crate builds natively and for wasm32-unknown-unknown. The parallel feature runs some per-face loops on rayon; profile-wall turns on a diagnostic wall-time partition. Both are off by default, and BREP_kernel forwards them.

The packaged crate ships the library sources, the README, the licence and the manifest; it carries no test suite.

License

The Autodrop3d licence in LICENSE.md, shipped in the crate (license-file in the manifest). Source: https://github.com/mmiscool/next.BREP.io_RUST_BREP_KERNEL