mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-05 10:28:27 +00:00
Move doc comment
This commit is contained in:
parent
e181447a1a
commit
379d414687
@ -17,17 +17,6 @@ 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(
|
pub fn sweep_from(
|
||||||
origin: Handle<Face>,
|
origin: Handle<Face>,
|
||||||
path: impl Into<Vector<3>>,
|
path: impl Into<Vector<3>>,
|
||||||
|
@ -7,6 +7,17 @@ use crate::{
|
|||||||
use super::{Face, Solid, Vertex};
|
use super::{Face, Solid, Vertex};
|
||||||
|
|
||||||
pub trait SweepExt {
|
pub trait SweepExt {
|
||||||
|
/// 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.
|
||||||
fn sweep(
|
fn sweep(
|
||||||
self,
|
self,
|
||||||
path: impl Into<Vector<3>>,
|
path: impl Into<Vector<3>>,
|
||||||
|
Loading…
Reference in New Issue
Block a user