Package georegression.fitting.sphere
Class SphereToPointSignedDistance_F64
java.lang.Object
georegression.fitting.sphere.SphereToPointSignedDistance_F64
- All Implemented Interfaces:
FunctionInOut
,FunctionNtoM
Computes the signed Euclidean distance between a sphere and a set of points, see
Distance3D_F64.distanceSigned(georegression.struct.shapes.Sphere3D_F64, georegression.struct.point.Point3D_F64)
.
See CodecSphere3D_F64
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_F64> points)
-
Constructor Details
-
SphereToPointSignedDistance_F64
public SphereToPointSignedDistance_F64()
-
-
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
-