Package georegression.fitting.sphere
Class SphereToPointSignedDistance_F32
java.lang.Object
georegression.fitting.sphere.SphereToPointSignedDistance_F32
- All Implemented Interfaces:
FunctionInOut,FunctionNtoM
@Generated("georegression.fitting.sphere.SphereToPointSignedDistance_F64")
public class SphereToPointSignedDistance_F32
extends Object
implements FunctionNtoM
Computes the signed Euclidean distance between a sphere and a set of points, see
Distance3D_F32.distanceSigned(georegression.struct.shapes.Sphere3D_F32, georegression.struct.point.Point3D_F32).
See CodecSphere3D_F32 for how the model is parametrized.
For use in least-squares non-linear minimization.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintvoidprocess(double[] input, double[] output) voidsetPoints(List<Point3D_F32> points)
-
Constructor Details
-
SphereToPointSignedDistance_F32
public SphereToPointSignedDistance_F32()
-
-
Method Details
-
setPoints
-
getNumOfInputsN
public int getNumOfInputsN()- Specified by:
getNumOfInputsNin interfaceFunctionInOut
-
getNumOfOutputsM
public int getNumOfOutputsM()- Specified by:
getNumOfOutputsMin interfaceFunctionInOut
-
process
public void process(double[] input, double[] output) - Specified by:
processin interfaceFunctionNtoM
-