[−][src]Function fastcurve_3d::fast_curve_3d
pub fn fast_curve_3d(
x: &Vec<f64>,
y: &Vec<f64>,
z: &Vec<f64>,
n: u8
) -> (Vec<f64>, Vec<f64>, Vec<f64>)
Returns the tuple of vector points of the smoothed curve The size of the output vector is proportional to the number of smoothening iterations and the initial points
Inputs:
- x = vector of points on x axis
- y = vector of points on y axis
- z = vector of points on z axis
- n = number of smoothening iterations
Outputs:
- x = augmented vector of smoothed points on x axis
- y = augmented vector of smoothed points on y axis
- z = augmented vector of smoothed points on z axis