Skip to main content

interior_point/
lib.rs

1// The README is the crate's documentation: including it here puts one text on
2// docs.rs and in the repository, and turns every Rust block it carries into a
3// doctest, so an example that stops compiling fails `cargo test`.
4#![doc = include_str!("../README.md")]
5
6mod algorithm;
7mod centroid_first_interior_point;
8mod geom;
9mod geometry_adapter;
10mod math;
11mod verify_interior_point;
12
13#[cfg(feature = "cli")]
14pub mod cli;
15
16#[cfg(test)]
17mod test;
18
19// The published names are listed in the order the documentation introduces
20// them: the ported algorithm, then the two utilities built on top of it.
21// rustfmt sorts a contiguous run of `use` statements alphabetically, so the
22// blank line below is what keeps `centroid_first_interior_point` last.
23pub use algorithm::interior_point::interior_point;
24pub use verify_interior_point::{Verification, verify_interior_point};
25
26pub use centroid_first_interior_point::centroid_first_interior_point;