Class Affine2DCodec

  • All Implemented Interfaces:
    org.ddogleg.fitting.modelset.ModelCodec<georegression.struct.affine.Affine2D_F64>

    public class Affine2DCodec
    extends java.lang.Object
    implements org.ddogleg.fitting.modelset.ModelCodec<georegression.struct.affine.Affine2D_F64>
    Converts an Affine2D_F64 to and from an array parameterized format.
    • Constructor Summary

      Constructors 
      Constructor Description
      Affine2DCodec()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void decode​(double[] input, georegression.struct.affine.Affine2D_F64 model)  
      static void decodeStatic​(double[] param, georegression.struct.affine.Affine2D_F64 model)  
      void encode​(georegression.struct.affine.Affine2D_F64 model, double[] param)  
      static void encodeStatic​(georegression.struct.affine.Affine2D_F64 model, double[] param)  
      int getParamLength()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Affine2DCodec

        public Affine2DCodec()
    • Method Detail

      • getParamLength

        public int getParamLength()
        Specified by:
        getParamLength in interface org.ddogleg.fitting.modelset.ModelCodec<georegression.struct.affine.Affine2D_F64>
      • decode

        public void decode​(double[] input,
                           georegression.struct.affine.Affine2D_F64 model)
        Specified by:
        decode in interface org.ddogleg.fitting.modelset.ModelCodec<georegression.struct.affine.Affine2D_F64>
      • decodeStatic

        public static void decodeStatic​(double[] param,
                                        georegression.struct.affine.Affine2D_F64 model)
      • encode

        public void encode​(georegression.struct.affine.Affine2D_F64 model,
                           double[] param)
        Specified by:
        encode in interface org.ddogleg.fitting.modelset.ModelCodec<georegression.struct.affine.Affine2D_F64>
      • encodeStatic

        public static void encodeStatic​(georegression.struct.affine.Affine2D_F64 model,
                                        double[] param)