NAME
Geometry::Primitive::Arc
DESCRIPTION
Geometry::Primitive::Arc represents a closed segment of a curve.
SYNOPSIS
use Geometry::Primitive::Arc;
my $arc = Geometry::Primitive::Arc->new(
angle_start => 45,
angle_end => 65,
radius => 15
);
METHODS
Constructor
- new
-
Creates a new Geometry::Primitive::Arc
Instance Methods
- angle_start
-
The starting angle for this arc.
- angle_end
-
The ending angle for this arc.
- radius
-
Returns the radius of the arc.
AUTHOR
Cory Watson <gphat@cpan.org>
Infinity Interactive, http://www.iinteractive.com
COPYRIGHT & LICENSE
Copyright 2008 by Infinity Interactive, Inc.
You can redistribute and/or modify this code under the same terms as Perl itself.