Package georegression.fitting.cylinder
Class CodecCylinder3D_F32
java.lang.Object
georegression.fitting.cylinder.CodecCylinder3D_F32
- All Implemented Interfaces:
ModelCodec<Cylinder3D_F32>
@Generated("georegression.fitting.cylinder.CodecCylinder3D_F64")
public class CodecCylinder3D_F32
extends Object
implements ModelCodec<Cylinder3D_F32>
Encodes and decodes
Cylinder3D_F32
into float[].
cylinder.line.p.x = input[0]; cylinder.line.p.y = input[1]; cylinder.line.p.z = input[2]; cylinder.line.slope.x = input[3]; cylinder.line.slope.y = input[4]; cylinder.line.slope.z = input[5]; cylinder.radius = input[6];
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
decode
(double[] input, Cylinder3D_F32 cylinder) void
encode
(Cylinder3D_F32 cylinder, double[] param) int
-
Constructor Details
-
CodecCylinder3D_F32
public CodecCylinder3D_F32()
-
-
Method Details
-
decode
- Specified by:
decode
in interfaceModelCodec<Cylinder3D_F32>
-
encode
- Specified by:
encode
in interfaceModelCodec<Cylinder3D_F32>
-
getParamLength
public int getParamLength()- Specified by:
getParamLength
in interfaceModelCodec<Cylinder3D_F32>
-