logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Geometry::Primitive::Point - An XY coordinate

Attributes

x
       Set/Get the X value.

   y
       Set/Get the Y value.

Author

       Cory Watson <gphat@cpan.org>

Description

       Geometry::Primitive::Point represents a location in two dimensional space.

Methods

new
       Creates a new Geometry::Primitive::Point.

   equal_to
       Compares this point to another.

   to_string
       Return this point as a string $x,$y

Name

       Geometry::Primitive::Point - An XY coordinate

Synopsis

         use Geometry::Primitive::Point;

         my $point = Geometry::Primitive::Point->new({ x => 2, y => 0 });

See Also