Geometry::Primitive::Point - An XY coordinate
Geometry::Primitive::Point represents a location in two dimensional space.
use Geometry::Primitive::Point; my $point = Geometry::Primitive::Point->new({ x => 2, y => 0 });
Set/Get the X value.
Set/Get the Y value.
Creates a new Geometry::Primitive::Point.
Compares this point to another.
Return this point as a string $x,$y
Cory Watson <gphat@cpan.org>
You can redistribute and/or modify this code under the same terms as Perl itself.
To install Geometry::Primitive, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Geometry::Primitive
CPAN shell
perl -MCPAN -e shell install Geometry::Primitive
For more information on module installation, please visit the detailed CPAN module installation guide.