fn init_beach_line_default(
        &mut self,
        site_event_iterator_: &mut VSE::SiteEventIndexType,
        output: &mut VD::Diagram<I, F>,
    ) -> Result<(), BvError> {
        // Get the first and the second site event.
        let first = *site_event_iterator_ - 1;
        let first = self.site_events_[first];
        let second = *site_event_iterator_;
        let second = self.site_events_[second];
        tln!("insert_new_arc init_beach_line_default");
        let _ = self.insert_new_arc(
            first,
            first,
            second,
            self.beach_line_.last_position()?,
            output,
        );

        // The second site was already processed. Move the iterator.
        *site_event_iterator_ += 1;
        Ok(())
    }
/// Init beach line with the two first sites.
/// The first site is always a point.
Init beach line with the two first sites.
The first site is always a point.
Init beach line with the two first sites . The first site is always a point .
fn init_beach_line_default(
        &mut self,
        site_event_iterator_: &mut VSE::SiteEventIndexType,
        output: &mut VD::Diagram<I, F>,
    ) -> Result<(), BvError> {
        // Get the first and the second site event.
        let first = *site_event_iterator_ - 1;
        let first = self.site_events_[first];
        let second = *site_event_iterator_;
        let second = self.site_events_[second];
        tln!("insert_new_arc init_beach_line_default");
        let _ = self.insert_new_arc(
            first,
            first,
            second,
            self.beach_line_.last_position()?,
            output,
        );
        // The second site was already processed. Move the iterator.
        *site_event_iterator_ += 1;
        Ok(())
    }
fn init_beach_line_default ( & mut self , site_event_iterator_ : & mut VSE :: SiteEventIndexType , output : & mut VD :: Diagram < I , F > , ) -> Result < ( ) , BvError > { // Get the first and the second site event. let first = * site_event_iterator_ - 1 ; let first = self . site_events_ [ first ] ; let second = * site_event_iterator_ ; let second = self . site_events_ [ second ] ; tln ! ( " " ) ; let _ = self . insert_new_arc ( first , first , second , self . beach_line_ . last_position ( ) ? , output , ) ; // The second site was already processed. Move the iterator. * site_event_iterator_ += 1 ; Ok ( ( ) ) }
Init beach line with the two first sites.
Init beach line with the two first sites .
&mut self
site_event_iterator_
&mut VSE::SiteEventIndexType
output
&mut VD::Diagram<I, F>