SOCYLINDERDETAIL(3iv)

πŸ’– SoCylinderDetail(3IV) β€” no cap, bestie, it's the cylinder detail page

okay so before we even start: this whole thing lives in section 3IV of the manual, and the page is literally called SoCylinderDetail. that's the vibe. that's the whole assignment. let's go 🫢


✨ NAME ✨

SoCylinderDetail β€” stores detail information about the SoCylinder node

like. it holds the receipts πŸ“ about what exactly got hit on a cylinder.


🌸 INHERITS FROM 🌸

SoDetail > SoCylinderDetail

so it's a SoDetail girlie first, SoCylinderDetail second. ancestry matters, iykyk πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

#include <Inventor/details/SoCylinderDetail.h>

Methods from class SoCylinderDetail:

                     SoCylinderDetail()
virtual             ~SoCylinderDetail()
int                 getPart() const
static SoType       getClassTypeId()

Methods from class SoDetail:

SoDetail *          copy() const
virtual SoType      getTypeId() const
SbBool              isOfType(SoType type) const

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: you've got a point on a cylinder. this class is the one holding all the lore about that point πŸ“. specifically, it knows which part of the cylinder got hit β€” and the options are the sides, the top, or the bottom.

that's it. that's the whole personality. and honestly? iconic. she knows her lane and she stays in it ✨


πŸ’… METHODS πŸ’…

  • SoCylinderDetail()
  • virtual ~SoCylinderDetail()

Constructor and destructor, bestie. born, lived, destroyed. the full main character arc πŸ‘‘

  • int getPart() const

Returns the part in the detail. and what does that value look like? it's one of the SoCylinder part flags β€” so go check those, don't come at me guessing 🌈

  • static SoType getClassTypeId()

Returns the type identifier for this class. the little name tag. the "hello my name is" sticker ⭐


πŸ”₯ SEE ALSO πŸ”₯

SoCylinder, SoDetail, SoPickedPoint, SoPrimitiveVertex

go read those next, they're all part of the same friend group fr fr 🫢


and that's the page!! this little legend comes from the SoCylinderDetail(3IV)() source/version tag, and she's stamped with that same SoCylinderDetail(3IV) footer date energy at the very bottom β€” so when you cite her, cite her right πŸ’–βœ¨πŸŽ€