Name : perl-Geometry-AffineTransform
| |
Version : 1.4
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 5.76
| Date : 2024-08-05 19:07:09
|
Group : Development/Libraries/Perl
| Source RPM : perl-Geometry-AffineTransform-1.4-5.76.src.rpm
|
Size : 0.01 MB
| |
Packager : (none)
| |
Summary : Affine Transformation to map 2D coordinates to other 2D coordinates
|
Description :
Geometry::AffineTransform instances represent 2D affine transformations that map 2D coordinates to other 2D coordinates. The references in the /SEE ALSO manpage provide more information about affine transformations.
You create a new instance with the /new manpage, configure it to perform the desired transformation with a combination of the /scale manpage, the /rotate manpage and the /translate manpage and then perform the actual transformation on one or more x/y coordinate pairs with the /transform manpage.
The state of a newly created instance represents the identity transform, that is, it transforms all input coordinates to the same output coordinates.
Most methods return the instance so that you can chain method calls:
my $t = Geometry::AffineTransform->new(); $t->scale(...)->translate(...)->rotate(...);
($x, $y) = Geometry::AffineTransform->new()->rotate(..)->transform($x, $y);
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-G/openSUSE_Tumbleweed/noarch |