boofcv.struct.sfm
Class ScaleTranslate2D
- java.lang.Object
-
- boofcv.struct.sfm.ScaleTranslate2D
-
public class ScaleTranslate2D extends java.lang.ObjectMotion model for scale and translation: (x',y') = (x,y)*scale + (tranX , tranY)
-
-
Field Summary
Fields Modifier and Type Field and Description doublescaleScalingdoubletransXTranslation along x and y axisdoubletransYTranslation along x and y axis
-
Constructor Summary
Constructors Constructor and Description ScaleTranslate2D()ScaleTranslate2D(double scale, double transX, double transY)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublegetScale()doublegetTransX()doublegetTransY()voidset(ScaleTranslate2D src)voidsetScale(double scale)voidsetTransX(double transX)voidsetTransY(double transY)
-
-
-
Field Detail
-
scale
public double scale
Scaling
-
transX
public double transX
Translation along x and y axis
-
transY
public double transY
Translation along x and y axis
-
-
Constructor Detail
-
ScaleTranslate2D
public ScaleTranslate2D(double scale, double transX, double transY)
-
ScaleTranslate2D
public ScaleTranslate2D()
-
-
Method Detail
-
set
public void set(ScaleTranslate2D src)
-
getScale
public double getScale()
-
setScale
public void setScale(double scale)
-
getTransX
public double getTransX()
-
setTransX
public void setTransX(double transX)
-
getTransY
public double getTransY()
-
setTransY
public void setTransY(double transY)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG