Add TriMesh::empty

This commit is contained in:
Hanno Braun 2024-10-24 18:59:03 +02:00
parent dd8ac91c40
commit 8e5d07b9ac

View File

@ -12,6 +12,13 @@ use crate::geometry::{traits::GenTriMesh, Geometry, Tolerance};
/// geometry system is ongoing.
pub struct TriMesh {}
impl TriMesh {
/// # Construct an empty triangle mesh
pub fn empty() -> Self {
Self {}
}
}
/// # Convert a point in surface coordinates to global coordinates
pub fn convert_point_surface_to_global(
surface: &dyn GenTriMesh,