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:

  • Points
  • Colors
  • Options

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