Geometry::Primitive::Point(3pm)

Geometry::Primitive::Point3pm

An xy coordinate

Usage

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

Overview

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

Attributes

x

Set/Get the X value.

y

Set/Get the Y value.

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

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0–7
  2. 8–9
  3. 10–11
  4. 12–13

Author

Cory Watson <[email protected]>

From libgeometry-primitive-perl 0.24-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.