public final class FitSphere extends Object
Find the best fitting sphere Ported from Angelo Tardugno's C++
Modifier and Type | Method and Description |
---|---|
static double[] |
fitSphere(double[][] points)
Fit a sphere to 3D coordinates
|
public static double[] fitSphere(double[][] points)
points
- double[n][3] containing n (x, y, z) coordinatesIllegalArgumentException
- if n < 5Copyright © 2018–2022 BoneJ. All rights reserved.