jagua_rs/
lib.rs

1#![warn(
2    clippy::pedantic,
3    clippy::correctness,
4    clippy::suspicious,
5    clippy::complexity,
6    clippy::perf,
7    clippy::style
8)]
9#![allow(clippy::missing_panics_doc, clippy::missing_errors_doc)]
10//!
11//! A fast and fearless Collision Detection Engine for 2D irregular cutting and packing problems.
12//!
13//! This library is designed to be used as a backend by optimization algorithms.
14
15#![doc = document_features::document_features!()]
16
17/// Everything related to the Collision Detection Engine
18pub mod collision_detection;
19
20/// Entities to model 2D Irregular Cutting and Packing Problems
21pub mod entities;
22
23/// Geometric primitives and base algorithms
24pub mod geometry;
25
26/// Importing problem instances into and exporting solutions out of this library
27pub mod io;
28
29/// Helper functions which do not belong to any specific module
30pub mod util;
31
32/// Enabled variants of the 2D irregular Cutting and Packing Problem.
33pub mod probs;
34
35/// Export the `web_time` crate's `Instant` type for compatibility with web environments.
36pub type Instant = web_time::Instant;