PDL::G...bjects(3pm)
π PDL::Graphics::TriD::Objects β the manual, but make it cute π
okay bestie so this is PDL::Graphics::TriD::Objects from the User Contributed Perl Documentation, and it's giving simple graph objects for TriD β¨ no cap.
β¨ SYNOPSIS β¨
like, first you gotta summon the module:
use PDL::Graphics::TriD::Objects;
and then it hands you this whole class hierarchy and honestly? it ate:
PDL::Graphics::TriD::GObject (abstract) base class
β PDL::Graphics::TriD::Points individual points
β PDL::Graphics::TriD::Spheres fat 3D points :)
β PDL::Graphics::TriD::Lines separate lines
β PDL::Graphics::TriD::LineStrip continuous paths
β PDL::Graphics::TriD::STrigrid polygons
β β PDL::Graphics::TriD::STrigrid_S polygons with normals
β PDL::Graphics::TriD::GObject_Lattice (abstract) base class
β PDL::Graphics::TriD::SCLattice colored lattice
β PDL::Graphics::TriD::SLattice ...with color per vertex
β PDL::Graphics::TriD::SLattice_S ...and with normals
look at that tree. the little β and β? iconic. π
πΈ DESCRIPTION πΈ
so this module is literally just a lil collection of classes that represent graph objects π it's for internal use, bestie β it is not meant to be used by PDL users, so don't come for me if you poke it directly. π
GObjects can be either stand-alone or in Graphs, and they get scaled properly either way. β¨
and here's the tea: all the points that the object uses have to live in the member {Points}. the author literally says "I guess we can afford to force data to be copied (X,Y,Z) -> (Points)..." β so yeah, the data gets copied over into {Points}, that's the vibe. π«Ά
π¦ OBJECTS π¦
π PDL::Graphics::TriD::GObject
it inherits from the base PDL::Graphics::TriD::Object, and then it adds three fields on top, bestie:
PointsColorsOptions
that's it, that's the whole class. three little fields and main character energy. π
lowkey this whole thing is internal-only, so treat it like a group chat you got added to by accident β you can read it, but it wasn't written for you. π
okay that's the whole page, periodt. this lil baddie came from perl v5.40.1 and it was dated 2025-04-11 β shoutout to the version and the date, they carried the whole footer. πβ¨ bye bestie, go render something pretty π¦π
π¦ where this page comes from
- debian trixie: libpdl-graphics-trid-perl 2.102-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu questing: libpdl-graphics-trid-perl 2.102-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms