Geomet...imitive(3pm)

πŸ“¦
version 0.24 Β· 2 versions
  • 0.24 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.24 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– Geometry::Primitive β€” bestie edition πŸ’–

okay so this is Geometry::Primitive(3pm), from the User Contributed Perl Documentation set. it's the page about primitives. yes, geometry primitives. don't run away yet, i promise it's cute. 🌸


✨ NAME ✨

Geometry::Primitive β€” Primitive Geometry Entities. that's it. that's the whole name. points and lines and shapes, the little building blocks. πŸ’…


🌈 SYNOPSIS 🌈

so Geometry::Primitive is a device-agnostic and library-agnostic system for representing geometric entities β€” like points, lines and shapes. it gives you simple objects plus a whole bunch of convenience methods you'd expect from a simple geometry library. simple objects, big energy. ✨

use Geometry::Primitive::Point;

my $foo = Geometry::Primitive::Point->new(x => 1, y => 3);
...

like. look at that. x => 1, y => 3. iconic. πŸŽ€


πŸ’€ DISCLAIMER πŸ’€

okay bestie, real talk, direct from the author's own heart:

I'm not a math guy. I hate math.

😭 he said it fr fr. he'll likely learn a lot in the process of making this library. and if you are a math person, you will probably look at this and find many things missing or wrong. patches are encouraged. 🫢 he will likely find that he's done something completely wrong, having taken geometry over 10 years ago. C'est la vie. πŸ’…


πŸ¦‹ ENTITIES πŸ¦‹

the whole roster, no skips:

  • Arc
  • Bezier
  • Circle
  • Ellipse
  • Line
  • Point
  • Polygon
  • Rectangle

the way that's literally the entire cast of a geometry class πŸ‘‘βœ¨


πŸŽ€ SERIALIZATON πŸŽ€

(yes, that's how the heading is spelled, we don't fix it, we respect it πŸ’–)

all of the entities in this library support serialization via MooseX::Storage. this is primarily to support serialization in consumers of this library, but it may be useful for other purposes too. all classes are set to JSON format and File IO. no cap. πŸ”₯


🌟 AUTHOR 🌟

Cory Watson, "<gphat@cpan.org>". main character energy, honestly. πŸ‘‘


πŸ’œ ACKNOWLEDGEMENTS πŸ’œ

many of the ideas here come from his experience using the Cairo library. shoutout Cairo, you ate. πŸ“


πŸ› BUGS πŸ›

found a bug? want a feature? please report any bugs or feature requests to "bug-geometry-primitive at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Geometry-Primitive>.

he will be notified, and then you'll automatically be notified of progress on your bug as he makes changes. so like. you're in the loop. it's a whole thing. 🫢

this program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. periodt. πŸ’…


and that's the whole page bestie, thanks for reading, mwah πŸ’–

signing off: this was perl v5.36.0, dated 2022-12-12, from the Geomet...imitive(3pm) era of the manual pages. slay. βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from