mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-09 12:28:29 +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.
|
/// geometry system is ongoing.
|
||||||
pub struct TriMesh {}
|
pub struct TriMesh {}
|
||||||
|
|
||||||
|
impl TriMesh {
|
||||||
|
/// # Construct an empty triangle mesh
|
||||||
|
pub fn empty() -> Self {
|
||||||
|
Self {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// # Convert a point in surface coordinates to global coordinates
|
/// # Convert a point in surface coordinates to global coordinates
|
||||||
pub fn convert_point_surface_to_global(
|
pub fn convert_point_surface_to_global(
|
||||||
surface: &dyn GenTriMesh,
|
surface: &dyn GenTriMesh,
|
||||||
|
Loading…
Reference in New Issue
Block a user