Package georegression.fitting.cylinder
Class CodecCylinder3D_F64
java.lang.Object
georegression.fitting.cylinder.CodecCylinder3D_F64
- All Implemented Interfaces:
ModelCodec<Cylinder3D_F64>
Encodes and decodes
Cylinder3D_F64
into double[].
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_F64 cylinder) void
encode
(Cylinder3D_F64 cylinder, double[] param) int
-
Constructor Details
-
CodecCylinder3D_F64
public CodecCylinder3D_F64()
-
-
Method Details
-
decode
- Specified by:
decode
in interfaceModelCodec<Cylinder3D_F64>
-
encode
- Specified by:
encode
in interfaceModelCodec<Cylinder3D_F64>
-
getParamLength
public int getParamLength()- Specified by:
getParamLength
in interfaceModelCodec<Cylinder3D_F64>
-