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
-
Method Summary
Modifier and TypeMethodDescriptionint
int
void
process
(double[] input, double[] output) void
setPoints
(List<Point3D_F32> points)
-
Constructor Details
-
SphereToPointSignedDistance_F32
public SphereToPointSignedDistance_F32()
-
-
Method Details
-
setPoints
-
getNumOfInputsN
public int getNumOfInputsN()- Specified by:
getNumOfInputsN
in interfaceFunctionInOut
-
getNumOfOutputsM
public int getNumOfOutputsM()- Specified by:
getNumOfOutputsM
in interfaceFunctionInOut
-
process
public void process(double[] input, double[] output) - Specified by:
process
in interfaceFunctionNtoM
-