Geometry::Primitive::Arc(3pm) User Contributed Perl Documentation Geometry::Primitive::Arc(3pm)NAME
Geometry::Primitive::Arc - Portion of the circumference of a Circle
DESCRIPTION
Geometry::Primitive::Arc represents a closed segment of a curve.
SYNOPSIS
use Geometry::Primitive::Arc;
my $arc = Geometry::Primitive::Arc->new(
angle_start => 0,
angle_end => 1.57079633,
radius => 15
);
ATTRIBUTES
angle_start
The starting angle for this arc in radians.
angle_end
The ending angle for this arc in radians.
radius
Returns the radius of the arc.
origin
Set/Get the origin of this arc.
METHODS
new
Creates a new Geometry::Primitive::Arc
get_point_at_angle
Given angle in radians returns the point at that angle on this arc. Returns undef if the angle falls outside this arc's range.
length
Returns the length of this arc.
point_end
Get the end point. Provided for Shape role.
point_start
Get the start point. Provided for Shape role.
scale ($amount)
Increases the radius by multiplying it by the supplied amount.
AUTHOR
Cory Watson <gphat@cpan.org>
COPYRIGHT & LICENSE
You can redistribute and/or modify this code under the same terms as Perl itself.
perl v5.10.1 2010-01-10 Geometry::Primitive::Arc(3pm)
Check Out this Related Man Page
Geometry::Primitive::Polygon(3pm) User Contributed Perl Documentation Geometry::Primitive::Polygon(3pm)NAME
Geometry::Primitive::Polygon - Closed shape with an arbitrary number of points.
DESCRIPTION
Geometry::Primitive::Polygon represents a two dimensional figure bounded by a series of points that represent a closed path.
SYNOPSIS
use Geometry::Primitive::Polygon;
my $poly = Geometry::Primitive::Polygon->new;
$poly->add_point($point1);
$poly->add_point($point2);
$poly->add_point($point3);
# No need to close the path, it's handled automatically
ATTRIBUTES
points
Set/Get the arrayref of points that make up this Polygon.
METHODS
new
Creates a new Geometry::Primitive::Polygon
area
Area of this polygon. Assumes it is non-self-intersecting.
add_point
Add a point to this polygon.
clear_points
Clears all points from this polygon.
point_count
Returns the number of points that bound this polygon.
get_point
Returns the point at the specified offset.
point_end
Get the end point. Provided for Shape role.
point_start
Get the start point. Provided for Shape role.
scale ($amount)
Scale this this polygon by the supplied amount.
AUTHOR
Cory Watson <gphat@cpan.org>
COPYRIGHT & LICENSE
You can redistribute and/or modify this code under the same terms as Perl itself.
perl v5.10.1 2010-01-10 Geometry::Primitive::Polygon(3pm)
Hi,
In My Program I have HEXA value in a string array as below :
char hexa="0xabcd1234"; //This is how I'm getting source data.
Actaully I want this hexa value to be decremented with -1
and store it in another string as "0xabcd1234".
Can any body help me how to do that..?
I... (1 Reply)
People i have files.arc i need to compress one by one...but they need to have the same date for example
jan 30 1234.arc
jan 30 12334.arc
jan 30 rejrne.arc
jan 30 e423e4.arc
jan 30 afdhnfhd.arc
jan 31 aresdfds.arc
I need to compres the jan 30 .arc only
thank you very much (1 Reply)
This used to work , but know I am getting errors:
331 Enter password
230 User logged in
250 Command CWD succeed
200 Transfer mode set to BINARY
local: arc-090715.tar.gz remote: arc-090715.tar.gz
local: arc-090715.tar.gz: No such file or directory
Any idea what is wrong? Thank you in... (2 Replies)
Dear All,
Please help !
i ham having 300 file with E.G. PMC1_4567.arc in seq. like PMC1_4568.arc,PMC1_4569.arc ...n and so on.. i want all those file to be rename like PMC_4567.arc ,PMC_4568.arc .. mean i want to remove 1 from first file name ..
pls help.. (6 Replies)
Greetings Forumers!
I have a Solaris 10u9 M5000 with 32GB RAM and have noticed the ZFS arc cache is consuming large amount of memory. Here's what I see on my system:
# echo ::memstat|mdb -k
Page Summary Pages MB %Tot
------------ ---------------- ... (9 Replies)
Hi All,
Its been a long time!!!!!!
Having one problem in our live server....
we have perl code which runs every day for almost 15 to 18hrs process and it creates almost 150 to 200 sub process (arc get) sequentially.
However in which randomly one or few of the process getting skipped. But... (2 Replies)