Document Solid::sweep_from

This commit is contained in:
Hanno Braun 2025-01-31 20:49:09 +01:00
parent 03d1e7954f
commit 85fe6e959c

View File

@ -17,6 +17,17 @@ impl Solid {
}
}
/// Sweep a face along a path, creating a solid
///
/// ## Implementation Note
///
/// This method has very particular (and undocumented) requirements about
/// the orientation of the two faces relative to each other, and will
/// happily generate invalid geometry, if those undocumented requirements
/// aren't met.
///
/// It should be seen as more of a placeholder for a real implementation of
/// this operation.
pub fn sweep_from(
origin: Handle<Face>,
path: impl Into<Vector<3>>,