pub fn compute(&self) -> HyperBezierResult {
        let integral = self.integrate(0.0, 1.0, 24);
        let th_chord = integral.atan2();
        let chord = integral.hypot();
        let th0 = th_chord - self.compute_theta(0.0);
        let th1 = self.compute_theta(1.0) - th_chord;
        let k0 = chord * self.k0 * compute_k(self.bias0);
        let k1 = chord * self.k1 * compute_k(self.bias1);
        HyperBezierResult {
            th0,
            th1,
            chord,
            k0,
            k1,
        }
    }
/// Compute the endpoint tangent angles and the chord length.
Compute the endpoint tangent angles and the chord length.
Compute the endpoint tangent angles and the chord length .
pub fn compute(&self) -> HyperBezierResult {
        let integral = self.integrate(0.0, 1.0, 24);
        let th_chord = integral.atan2();
        let chord = integral.hypot();
        let th0 = th_chord - self.compute_theta(0.0);
        let th1 = self.compute_theta(1.0) - th_chord;
        let k0 = chord * self.k0 * compute_k(self.bias0);
        let k1 = chord * self.k1 * compute_k(self.bias1);
        HyperBezierResult {
            th0,
            th1,
            chord,
            k0,
            k1,
        }
    }
pub fn compute ( & self ) -> HyperBezierResult { let integral = self . integrate ( 0.0 , 1.0 , 24 ) ; let th_chord = integral . atan2 ( ) ; let chord = integral . hypot ( ) ; let th0 = th_chord - self . compute_theta ( 0.0 ) ; let th1 = self . compute_theta ( 1.0 ) - th_chord ; let k0 = chord * self . k0 * compute_k ( self . bias0 ) ; let k1 = chord * self . k1 * compute_k ( self . bias1 ) ; HyperBezierResult { th0 , th1 , chord , k0 , k1 , } }
Compute the endpoint tangent angles and the chord length.
Compute the endpoint tangent angles and the chord length .
&self
&self