NAME
SVG::Estimate::Circle - Handles estimating circles.
VERSION
version 1.02
SYNOPSIS
my $circle = SVG::Estimate::Circle->new(
transformer => $transform,
start_point => [45,13],
cx => 1,
cy => 3,
r => 1,
);
my $length = $circle->length;
INHERITANCE
This class extends SVG::Estimate::Shape.
METHODS
new()
Constructor.
- cx
-
Float representing center x.
- cy
-
Float representing center y.
- r
-
Float representing the radius.
this_point ($args, $t)
This class method is used to calculate a point on a circle, given it's relative position ($t
, ranging from 0 to 1, inclusive), and the radius and center of the circle from a hashref of $args
(r
and cx
and <cy>).