mirror of https://github.com/hannobraun/Fornjot
Inline method call
This commit is contained in:
parent
ab3ee7bf0d
commit
a17e400b2b
|
@ -211,12 +211,7 @@ impl CyclesInFace {
|
|||
|
||||
/// Access an iterator over the canonical forms of the cycles
|
||||
pub fn as_canonical(&self) -> impl Iterator<Item = Cycle<3>> + '_ {
|
||||
self.as_handle().map(|cycle| cycle.get())
|
||||
}
|
||||
|
||||
/// Access an iterator over handles to the cycles
|
||||
pub fn as_handle(&self) -> impl Iterator<Item = Handle<Cycle<3>>> + '_ {
|
||||
self.0.iter().map(|cycle| cycle.canonical())
|
||||
self.0.iter().map(|cycle| cycle.canonical().get())
|
||||
}
|
||||
|
||||
/// Access an iterator over local forms of the cycles
|
||||
|
|
Loading…
Reference in New Issue