Package georegression.fitting.cylinder
Class CylinderToPointSignedDistance_F64
java.lang.Object
georegression.fitting.cylinder.CylinderToPointSignedDistance_F64
- All Implemented Interfaces:
FunctionInOut
,FunctionNtoM
Computes the signed Euclidean distance between a cylinder and a set of points, see
Distance3D_F64.distanceSigned(georegression.struct.shapes.Cylinder3D_F64, georegression.struct.point.Point3D_F64)
.
See CodecCylinder3D_F64
for how the model is parametrized.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
void
process
(double[] input, double[] output) void
setPoints
(List<Point3D_F64> points)
-
Constructor Details
-
CylinderToPointSignedDistance_F64
public CylinderToPointSignedDistance_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
-