NAME
App::MathImage::NumSeq::PlanePathCoord -- sequence of coordinate values from a PlanePath module
SYNOPSIS
use App::MathImage::NumSeq::PlanePathCoord;
my $seq = App::MathImage::NumSeq::PlanePathCoord->new (planepath => 'SquareSpiral',
coordinate_type => 'X');
my ($i, $value) = $seq->next;
DESCRIPTION
This module gives a coordinate from a Math::PlanePath as a sequence.
FUNCTIONS
$seq = App::MathImage::NumSeq::PlanePathCoord->new (planepath => $name, coordinate_type => 'X')-
Create and return a new sequence object. The
planepathoption is the name of one of theMath::PlanePathmodules.The
coordinate_typeoption (a string) is which coordinate from the path's X,Y is wanted. The choices are"X" the X coordinate "Y" the Y coordinate $value = $seq->ith($i)-
Return the coordinate at N=$i in the PlanePath.