ThinPlateSplineShapeTransformerTrait

Trait ThinPlateSplineShapeTransformerTrait 

Source
pub trait ThinPlateSplineShapeTransformerTrait: ShapeTransformerTrait + ThinPlateSplineShapeTransformerTraitConst {
    // Required method
    fn as_raw_mut_ThinPlateSplineShapeTransformer(&mut self) -> *mut c_void;

    // Provided method
    fn set_regularization_parameter(&mut self, beta: f64) -> Result<()> { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

fn set_regularization_parameter(&mut self, beta: f64) -> Result<()>

Set the regularization parameter for relaxing the exact interpolation requirements of the TPS algorithm.

§Parameters
  • beta: value of the regularization parameter.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§