mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-08 20:08:30 +00:00
Add TriMesh::empty
This commit is contained in:
parent
dd8ac91c40
commit
8e5d07b9ac
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user