AffineTransformation function ( Coordinate arg0 , Coordinate arg1 ) { double loc0 = arg1 . x - arg0 . x ; double loc1 = arg1 . y - arg0 . y ; return AffineTransformation . translationInstance ( loc0 , loc1 ) ; }
creates an affinetransformation defined by a single control vector . a control vector consists of a source point and a destination point , which is the image of the source point under the desired transformation . this produces a translation . concode_field_sep PlaceHolder placeHolder concode_field_sep AffineTransformation createFromBaseLines