fn next_el(&self, i: usize) -> Option<&Element> {
        if (i < self.elements.len() - 1 || self.is_closed) && self.elements[i].is_smooth() {
            Some(&self.elements[self.next_ix(i)])
        } else {
            None
        }
    }
/// The next element that has a G2 continuity constraint.
The next element that has a G2 continuity constraint.
The next element that has a G2 continuity constraint .
fn next_el(&self, i: usize) -> Option<&Element> {
        if (i < self.elements.len() - 1 || self.is_closed) && self.elements[i].is_smooth() {
            Some(&self.elements[self.next_ix(i)])
        } else {
            None
        }
    }
fn next_el ( & self , i : usize ) -> Option < & Element > { if ( i < self . elements . len ( ) - 1 || self . is_closed ) && self . elements [ i ] . is_smooth ( ) { Some ( & self . elements [ self . next_ix ( i ) ] ) } else { None } }
The next element that has a G2 continuity constraint.
The next element that has a G2 continuity constraint .
&self
i
usize
&self
i
usize