Package boofcv.alg.distort
Class PointTransformAffine_F64
java.lang.Object
boofcv.alg.distort.PointTransformAffine_F64
- All Implemented Interfaces:
Point2Transform2_F64
,Point2Transform2Model_F64<Affine2D_F64>
public class PointTransformAffine_F64
extends Object
implements Point2Transform2Model_F64<Affine2D_F64>
Applies an affine transform to a 2D point.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
compute
(double x, double y, Point2D_F64 out) Applies transformationCreates a copy of this transform for use in concurrent application.getModel()
Returns the active motion modelReturns a new instance of the motion modelvoid
setModel
(Affine2D_F64 model) Specifies the distortion model used by the transform
-
Field Details
-
model
-
-
Constructor Details
-
PointTransformAffine_F64
-
PointTransformAffine_F64
public PointTransformAffine_F64()
-
-
Method Details
-
compute
Description copied from interface:Point2Transform2_F64
Applies transformation- Specified by:
compute
in interfacePoint2Transform2_F64
- Parameters:
x
- x-coordinate of pointy
- y-coordinate of pointout
- Transformed point location.
-
copyConcurrent
Description copied from interface:Point2Transform2_F64
Creates a copy of this transform for use in concurrent application. What that means is that any variable which might be modified by a concurrent call toPoint2Transform2_F64.compute(double, double, georegression.struct.point.Point2D_F64)
is not passed to the 'copied' output. Expensive to compute models might be passed in as a reference.- Specified by:
copyConcurrent
in interfacePoint2Transform2_F64
-
setModel
Description copied from interface:Point2Transform2Model_F64
Specifies the distortion model used by the transform- Specified by:
setModel
in interfacePoint2Transform2Model_F64<Affine2D_F64>
- Parameters:
model
- Distortion model
-
getModel
Description copied from interface:Point2Transform2Model_F64
Returns the active motion model- Specified by:
getModel
in interfacePoint2Transform2Model_F64<Affine2D_F64>
- Returns:
- motion model
-
newInstanceModel
Description copied from interface:Point2Transform2Model_F64
Returns a new instance of the motion model- Specified by:
newInstanceModel
in interfacePoint2Transform2Model_F64<Affine2D_F64>
- Returns:
- new instance
-