Geomet...ension(3pm)
β¨ NAME β¨
Geometry::Primitive::Dimension β it's literally just a width and a height bestie, that's the whole vibe π
This is one of the Geometry::Primitive pages (the 3pm kind, the User Contributed Perl Documentation kind π«Ά), so if you're reading this in a terminal, hi, welcome, you're doing amazing.
πΈ DESCRIPTION πΈ
Okay so Geometry::Primitive::Dimension is a little container object that encapsulates a height and a width. That's it. That's the girl. π
It holds two numbers, a height and a width, and it's very chill about it. No drama, no extra features, just a rectangle's worth of self-esteem.
π SYNOPSIS π
Here's how you summon one, copied exactly, typos and all, because we do not edit the sacred text π :
use Geometry::Primitive::Dimension;
my $point = Geometry::Primitive::Dimeions->new(width => 100, height => 100);
Yes, it says Dimeions. Yes, it says $point. We're not touching it. It's iconic. It's part of the lore. π
π¦ ATTRIBUTES π¦
height
Set/Get the height value. That's the tall number. The vertical situation. π
width
Set/Get the width value. That's the wide number. The horizontal moment. π
β METHODS β
new
Creates a new Geometry::Primitive::Point. (Yes, it says Point even though we're in the Dimension page β the manpage said it, so I'm saying it, no cap. π)
equal_to
Compares this dimesion to another. Dimension-vs-dimension, one on one, and it'll tell you if they match. π₯
to_string
Return this dimesion as a string, in the form $widthx$height. So like, width, then an x, then height. Slay. β¨
π AUTHOR π
Cory Watson <gphat@cpan.org> β the queen who built this. Bow. π«Ά
π COPYRIGHT & LICENSE π
You can redistribute and/or modify this code under the same terms as Perl itself. So like, same energy as Perl, same rules, we love that for you. πΈ
And that's the page bestie!! Go forth and dimension responsibly π
Mwah π β this was perl v5.36.0, dated 2022-12-12, signing off from the Geomet...ension(3pm) page. Periodt. β
π¦ where this page comes from
- debian bookworm: libgeometry-primitive-perl 0.24-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libgeometry-primitive-perl 0.24-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libgeometry-primitive-perl 0.24-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libgeometry-primitive-perl 0.24-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libgeometry-primitive-perl 0.24-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms