SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Math-Bezier-Convert rpm build for : openSUSE Tumbleweed. For other distributions click perl-Math-Bezier-Convert.

Name : perl-Math-Bezier-Convert
Version : 0.02 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : 7.70 Date : 2024-08-05 17:38:22
Group : Development/Libraries/Perl Source RPM : perl-Math-Bezier-Convert-0.02-7.70.src.rpm
Size : 0.02 MB
Packager : (none)
Summary : Convert cubic and quadratic bezier each other
Description :
Math::Bezier::Convert provides functions to convert quadratic bezier to
cubic, to approximate cubic bezier to quadratic, and to approximate cubic
and quadratic bezier to polyline.

Each function takes an array of the coordinates of control points of the
bezier curve. Cubic bezier consists of one _ANCHOR_ control point, two
_DIRECTOR_ control points, one _ANCHOR_, two _DIRECTORS_, ... and the last
_ANCHOR_. Quadratic bezier consists of one _ANCHOR_, one _DIRECTOR_, ...
and the last _ANCHOR_. The curve pass over the _ANCHOR_ point, but dose not
the _DIRECTOR_ point. Each point consists of X and Y coordinates. Both are
flatly listed in the array of the curve, like ($x1, $y1, $x2, $y2, ...).

* divide_cubic( $cx1, $cy1, $cx2, $cy2, $cx3, $cy3, $cx4, $cy4, $t )

divides one segment of the cubic bezier curve at ratio $t, and returns
new cubic bezier which has two segment (7 points).

* divide_quadratic( $cx1, $cy1, $cx2, $cy2, $cx3, $cy3, $t )

divides one segment of the quadratic bezier curve at ratio $t, and
returns new quadratic bezier which has two segment (5 points).

* cubic_to_quadratic( AATTcubic )

approximates cubic bezier to quadratic bezier, and returns an array of
the control points of the quadratic bezier curve.

* quadratic_to_cubic( AATTquadratic )

converts quadratic bezier to cubic bezier, and returns an array of the
control points of the cubic bezier curve.

* cubic_to_lines( AATTcubic )

approximates cubic bezier to polyline, and returns an array of endpoints.

* quadratic_to_lines( AATTcubic )

approximates quadratic bezier to polyline, and returns an array of
endpoints.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-M/openSUSE_Tumbleweed/noarch

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-Math-Bezier-Convert-0.02-7.70.noarch.rpm
     

Provides :
perl(Math::Bezier::Convert)
perl-Math-Bezier-Convert

Requires :
perl(:MODULE_COMPAT_5.40.0)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.40.0/Math
/usr/lib/perl5/vendor_perl/5.40.0/Math/Bezier
/usr/lib/perl5/vendor_perl/5.40.0/Math/Bezier/Convert.pm
/usr/share/doc/packages/perl-Math-Bezier-Convert
/usr/share/doc/packages/perl-Math-Bezier-Convert/Changes
/usr/share/doc/packages/perl-Math-Bezier-Convert/README
/usr/share/doc/packages/perl-Math-Bezier-Convert/samples
/usr/share/doc/packages/perl-Math-Bezier-Convert/samples/bezier.plx
/usr/share/man/man3/Math::Bezier::Convert.3pm.gz

 
ICM
This page is using cookies. Read moreOK, I understand