pub fn re_calculate_affine(&mut self) -> Result<(), BvError> {
        self.affine = VU::SimpleAffine::new(&self.points_aabb, &self.screen_aabb)?;

        // Flip the z axis because fltk uses quadrant 4 when drawing
        self.affine.scale[1] *= F::from(-1.0).unwrap();
        Ok(())
    }
/// recalculates the affine transformation, this should not be done every time
/// the diagram is re-calculated or the screen will move around when adding new edges and points.
recalculates the affine transformation, this should not be done every time
the diagram is re-calculated or the screen will move around when adding new edges and points.
recalculates the affine transformation this should not be done every time the diagram is re - calculated or the screen will move around when adding new edges and points .
pub fn re_calculate_affine(&mut self) -> Result<(), BvError> {
        self.affine = VU::SimpleAffine::new(&self.points_aabb, &self.screen_aabb)?;
        // Flip the z axis because fltk uses quadrant 4 when drawing
        self.affine.scale[1] *= F::from(-1.0).unwrap();
        Ok(())
    }
pub fn re_calculate_affine ( & mut self ) -> Result < ( ) , BvError > { self . affine = VU :: SimpleAffine :: new ( & self . points_aabb , & self . screen_aabb ) ? ; // Flip the z axis because fltk uses quadrant 4 when drawing self . affine . scale [ 1 ] *= F :: from ( - 1.0 ) . unwrap ( ) ; Ok ( ( ) ) }
recalculates the affine transformation, this should not be done every time
the diagram is re-calculated or the screen will move around when adding new edges and points.
recalculates the affine transformation this should not be done every time the diagram is re - calculated or the screen will move around when adding new edges and points .
&mut self