GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Geometry::Primitive::Circle(3) User Contributed Perl Documentation Geometry::Primitive::Circle(3)

Geometry::Primitive::Circle - A Circle

Geometry::Primitive::Circle represents an ellipse with equal width and height.

  use Geometry::Primitive::Circle;

  my $circle = Geometry::Primitive::Circle->new(
      radius => 15
  );
  print $circle->diameter;

Set/Get the origin of this circle.

Set/Get the radius of this circle.

Creates a new Geometry::Primitive::Circle

Returns the area of this circle.

Returns the circumference of this circle.

Returns the diameter of this circle

Returns a new circle whose radius is $amount times bigger than this one.

Set/Get the "end" point of this cicle. Calls "point_start".

Set/Get the "start" point of this cicle. Returns the point at the circle's origin X coordinate and the origin Y coordinate + radius / 2.

Cory Watson <gphat@cpan.org>

You can redistribute and/or modify this code under the same terms as Perl itself.
2014-01-25 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.