Geometry::Primitive::Point
An XY coordinate
- Provided by: libgeometry-primitive-perl (Version: 0.24-3)
- Report a bug
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.