parry3d/transformation/
mod.rs

1//! Transformation, simplification and decomposition of meshes.
2
3#[cfg(feature = "dim3")]
4pub(crate) use self::convex_hull2::convex_hull2_idx;
5#[cfg(feature = "dim2")]
6pub use self::convex_hull2::{convex_hull2 as convex_hull, convex_hull2_idx as convex_hull_idx};
7#[cfg(all(feature = "dim3", feature = "std"))]
8pub use self::convex_hull3::check_convex_hull;
9#[cfg(feature = "dim3")]
10pub use self::convex_hull3::{convex_hull, try_convex_hull, ConvexHullError};
11#[cfg(all(feature = "dim3", feature = "spade"))]
12pub use self::mesh_intersection::{
13    intersect_meshes, intersect_meshes_with_tolerances, MeshIntersectionError,
14    MeshIntersectionTolerances,
15};
16pub use self::polygon_intersection::{
17    convex_polygons_intersection, convex_polygons_intersection_points,
18    convex_polygons_intersection_points_with_tolerances,
19    convex_polygons_intersection_with_tolerances, polygons_intersection,
20    polygons_intersection_points, PolygonIntersectionTolerances, PolygonsIntersectionError,
21    PolylinePointLocation,
22};
23
24mod convex_hull2;
25#[cfg(feature = "dim3")]
26mod convex_hull3;
27pub(crate) mod convex_hull_utils;
28
29mod polygon_intersection;
30/// Approximate convex decomposition using the VHACD algorithm.
31pub mod vhacd;
32/// Voxelization of a 2D polyline or 3D triangle mesh.
33pub mod voxelization;
34
35#[cfg(feature = "dim2")]
36pub(crate) mod ear_clipping;
37#[cfg(feature = "dim2")]
38pub(crate) mod hertel_mehlhorn;
39#[cfg(feature = "dim2")]
40pub use hertel_mehlhorn::{hertel_mehlhorn, hertel_mehlhorn_idx};
41#[cfg(all(feature = "dim3", feature = "spade"))]
42mod mesh_intersection;
43#[cfg(feature = "dim3")]
44mod to_outline;
45#[cfg(feature = "dim2")]
46mod to_polyline;
47mod to_trimesh;
48pub mod utils;
49
50#[cfg(feature = "wavefront")]
51mod wavefront;