|
NAMEGeometry::Primitive::Point - An XY coordinate DESCRIPTIONGeometry::Primitive::Point represents a location in two dimensional space. SYNOPSIS use Geometry::Primitive::Point;
my $point = Geometry::Primitive::Point->new({ x => 2, y => 0 });
ATTRIBUTESxSet/Get the X value. ySet/Get the Y value. METHODSnewCreates a new Geometry::Primitive::Point. equal_toCompares this point to another. to_stringReturn this point as a string $x,$y AUTHORCory Watson <gphat@cpan.org> COPYRIGHT & LICENSEYou can redistribute and/or modify this code under the same terms as Perl itself.
|