/// Offset added to value for C0 continuity at the cutoff.
///
/// This is zero if a smooth cutoff is enabled (`cutoff_transition_dist`).
Offset added to value for C0 continuity at the cutoff.
This is zero if a smooth cutoff is enabled (`cutoff_transition_dist`).
Offset added to value for C0 continuity at the cutoff . This is zero if a smooth cutoff is enabled ( ` cutoff_transition_dist ` ) .
pub fn value_offset(&self) -> f64 {
        match self.cutoff_transition_dist {
            None => {
                // FIXME: we should precompute this, but then we need to do away with the public
                //        fields in Param's API...
                let r = self.cutoff_end();
                let beta = self.z0 / r;
                let beta3 = beta*beta*beta;
                let beta6 = beta3*beta3;
                self.A * beta6
            },
            Some(_) => 0.0,
        }
    }
pub fn value_offset ( & self ) -> f64 { match self . cutoff_transition_dist { None => { // FIXME: we should precompute this, but then we need to do away with the public //        fields in Param's API... let r = self . cutoff_end ( ) ; let beta = self . z0 / r ; let beta3 = beta * beta * beta ; let beta6 = beta3 * beta3 ; self . A * beta6 } , Some ( _ ) => 0.0 , } }
Offset added to value for C0 continuity at the cutoff.
Offset added to value for C0 continuity at the cutoff .
&self