SoLineDetail(3)

πŸ“¦
version 4.0.10 Β· 4 versions
, in fedora 43, fedora 44

πŸ’– SoLineDetail πŸ’–

okay bestie, welcome to the SoLineDetail page of the Coin manual (section 3, library functions, iykyk) β€” she's the girl who holds all your detailed 3D line tea. literally just line info, stored with love. ✨


🌸 NAME 🌸

SoLineDetail β€” the class that's literally just for storing detailed 3D line information. that's it. that's her whole job. πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

#include <Inventor/details/SoLineDetail.h>

Inherits SoDetail. yes she's a nepo baby, she comes from a whole lineage. πŸ’…

🫢 Public Member Functions

virtual SoType getTypeId (void) const
SoLineDetail (void)
virtual ~SoLineDetail ()
virtual SoDetail * copy (void) const
const SoPointDetail * getPoint0 (void) const
const SoPointDetail * getPoint1 (void) const
int getLineIndex (void) const
int getPartIndex (void) const
void setPoint0 (const SoPointDetail *const detail)
void setPoint1 (const SoPointDetail *const detail)
void setLineIndex (const int idx)
void setPartIndex (const int idx)
void incLineIndex (void)
void incPartIndex (void)

πŸ’œ Public Member Functions inherited from SoDetail

virtual ~SoDetail ()
SbBool isOfType (const SoType type) const

⭐ Static Public Member Functions

static SoType getClassTypeId (void)
static void cleanupClass (void)
static void initClass (void)

πŸ’œ Static Public Member Functions inherited from SoDetail

static void initClass (void)
static void initClasses (void)
static SoType getClassTypeId (void)

πŸ¦‹ Additional Inherited Members

πŸ’œ Protected Member Functions inherited from SoDetail

SoDetail (void)

✨ Detailed Description ✨

The SoLineDetail class is for storing detailed 3D line information. periodt.

Instances of this class are used among other things for storing information about lines after pick operations, and for storing information returned to tessellation callbacks. she's booked and busy, honestly. πŸ’–

See also SoRayPickAction, SoPickedPoint, SoCallbackAction


🧚 Constructor & Destructor Documentation 🧚

🌈 SoLineDetail::SoLineDetail (void )

Default constructor sets up an empty, non-valid detail specification. like a blank notes app page before you've written anything. no thoughts, head empty, not valid yet. πŸ’€

🌈 SoLineDetail::~SoLineDetail () [virtual]

Destructor. she's logging off, closing the tab, leaving the group chat. bye bestie 🫢


πŸ’… Member Function Documentation πŸ’…

🌟 SoType SoLineDetail::getTypeId (void ) const [virtual]

Returns the type identification of an object derived from a class inheriting SoDetail. This is used for runtime type checking and "downward" casting.

Implements SoDetail. so she's out here fulfilling her parent's expectations, iconic. ✨

🌟 SoType SoLineDetail::getClassTypeId (void ) [static]

This static method returns the SoType object associated with objects of this class. it's the class's official ID card, fr fr. πŸͺͺ

🌟 void SoLineDetail::cleanupClass (void ) [inline], [static]

This static method cleans up static data of the class. spring cleaning energy, we love a girl who tidies up after herself. 🧹✨

🌟 SoDetail * SoLineDetail::copy (void ) const [virtual]

Return a deep copy of ourself. she's her own twin, no cap. πŸ‘―

⚠️ okay so IMPORTANT, listen up: note that if the Coin library has been built as a DLL under Microsoft Windows and you use this method from application code, you must make sure that both the Coin DLL and the application executable are using the same instance of a C Run-Time (CRT) library. Otherwise, you will get memory heap corruption upon deallocating the returned instances, eventually leading to mysterious crashes. not a vibe. not the mysterious crash era. please check your CRT, bestie, I'm begging 😭

Implements SoDetail.

🌟 const SoPointDetail * SoLineDetail::getPoint0 (void ) const

Returns SoPointDetail describing the line start point. where the line begins, her origin story. 🌱

🌟 const SoPointDetail * SoLineDetail::getPoint1 (void ) const

Returns SoPointDetail describing the line end point. and where she ends up. character development. πŸ¦‹

🌟 int SoLineDetail::getLineIndex (void ) const

Returns the index of this line within the lineset node it is part of. her seat number in the lineset, basically. 🎟️

🌟 int SoLineDetail::getPartIndex (void ) const

Returns the index of this line within the complex shape node it is part of. same girl, different venue. πŸ’«

🌟 void SoLineDetail::setPoint0 (const SoPointDetail *const detail)

Stores information about line's start point. Used internally from library client code setting up a SoLineDetail instance.

See also getPoint0()

🌟 void SoLineDetail::setPoint1 (const SoPointDetail *const detail)

Stores information about line's end point. Used internally from library client code setting up a SoLineDetail instance.

See also getPoint1()

🌟 void SoLineDetail::setLineIndex (const int idx)

Used internally from library client code setting up a SoLineDetail instance.

See also getLineIndex()

🌟 void SoLineDetail::setPartIndex (const int idx)

Used internally from library client code setting up a SoLineDetail instance.

See also getPartIndex()

🌟 void SoLineDetail::incLineIndex (void )

Convenience method for library client code when setting up a SoLineDetail instance to use the line index as a counter. she just goes up up up, main character ascending πŸ“ˆπŸ‘‘

🌟 void SoLineDetail::incPartIndex (void )

Convenience method for library client code when setting up a SoLineDetail instance to use the part index as a counter. and this one also just increments, slay. πŸŽ€


πŸ“ Author πŸ“

Generated automatically by Doxygen for Coin from the source code. so not a human author, a robot wrote this and honestly? she ate. πŸ€–πŸ’…


🌈 okay that's the whole page bestie, you made it, I'm so proud of you 🫢 this was Version 4.0.10, dated Thu Jun 25 2026 00:00:00, and it's SoLineDetail(3) from the Coin manual. go forth and store your 3D line details with confidence. mwah. πŸ’–βœ¨
πŸ“¦ where this page comes from