NAME

Math::Image - Perl class to represent an image

TREE

-+- Math::Image

REQUIRES

SEE ALSO

Math

Math::Color, Math::Image, Math::Vec2, Math::Vec3, Math::Rotation

SYNOPSIS

use Math::Image;
my $i = new Math::Image;  # Make a new Image

my $i = new Math::Image(1,2,3);

DESCRIPTION

DefaultValue

0 0 0 []

METHODS

new

copy

setValue(width, height, components, array)

getValue

Returns the @value of the image.

($width, $height, $components, $array) = $i->getValue;
@i = $i->getValue;

toString

Returns a string representation of the image. This is used to overload the '""' operator, so that image may be freely interpolated in strings.

my $i = new Math::Image(0, 0, 0);
print $c->toString; # "0 0 0"
print "$c";         # "0 0 0"

SEE ALSO

Math

Math::Color, Math::Image, Math::Vec2, Math::Vec3, Math::Rotation

BUGS & SUGGESTIONS

If you run into a miscalculation, need some sort of feature or an additional holiday, or if you know of any new changes to the funky math, please drop the author a note.

ARRANGED BY

Holger Seelig holger.seelig@yahoo.de

COPYRIGHT

This is free software; you can redistribute it and/or modify it under the same terms as Perl itself.