Package georegression.transform.affine
Class AffinePointOps_F32
java.lang.Object
georegression.transform.affine.AffinePointOps_F32
@Generated("georegression.transform.affine.AffinePointOps_F64")
public class AffinePointOps_F32
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Point2D_F32
transform
(Affine2D_F32 se, float x, float y, @Nullable Point2D_F32 result) Applies a 2D affine transform to the point and stores the results in another variable.static Point2D_F32
transform
(Affine2D_F32 se, Point2D_F32 orig, @Nullable Point2D_F32 result) Applies a 2D affine transform to the point and stores the results in another variable.static Vector2D_F32
transform
(Affine2D_F32 se, Vector2D_F32 orig, @Nullable Vector2D_F32 result) Applies a 2D affine transform to the point and stores the results in another variable.
-
Constructor Details
-
AffinePointOps_F32
public AffinePointOps_F32()
-
-
Method Details
-
transform
public static Vector2D_F32 transform(Affine2D_F32 se, Vector2D_F32 orig, @Nullable @Nullable Vector2D_F32 result) Applies a 2D affine transform to the point and stores the results in another variable.- Parameters:
se
- The transform.orig
- Original point being transformed. Not modified.result
- Where the results are stored. Can be the same as orig. If null a new instance is created. Modified.- Returns:
- Transformed point.
-
transform
public static Point2D_F32 transform(Affine2D_F32 se, Point2D_F32 orig, @Nullable @Nullable Point2D_F32 result) Applies a 2D affine transform to the point and stores the results in another variable.- Parameters:
se
- The transform.orig
- Original point being transformed. Not modified.result
- Where the results are stored. Can be the same as orig. If null a new instance is created. Modified.- Returns:
- Transformed point.
-
transform
public static Point2D_F32 transform(Affine2D_F32 se, float x, float y, @Nullable @Nullable Point2D_F32 result) Applies a 2D affine transform to the point and stores the results in another variable.- Parameters:
se
- The transform.x
- Original x-coordinatey
- Original y-coordinateresult
- Where the results are stored. Can be the same as orig. If null a new instance is created. Modified.- Returns:
- Transformed point.
-