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 planepath option is the name of one of the Math::PlanePath modules.

The coordinate_type option (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.

SEE ALSO

Math::NumSeq