SbVec3fList(3)

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

πŸ’– SbVec3fList πŸ’–

okay so bestie, welcome to SbVec3fList(3) β€” that's the Coin manual page for the SbVec3fList class, and yes we're doing this together, hand in hand, no cap. 🫢


✨ NAME ✨

SbVec3fList β€” the SbVec3fList class is a container for pointers to SbVec3f objects.


🌸 SYNOPSIS 🌸

#include <Inventor/lists/SbVec3fList.h>

Inherits SbPList.

πŸŽ€ Public Member Functions πŸŽ€

  • SbVec3fList (void)
  • ~SbVec3fList ()
  • void append (const SbVec3f *item)
  • void insert (const SbVec3f *item, const int insertbefore)
  • SbVec3f * operator[] (const int idx) const

πŸ’œ Public Member Functions inherited from SbPList πŸ’œ

  • SbPList (const int sizehint=DEFAULTSIZE)
  • SbPList (const SbPList &l)
  • ~SbPList ()
  • void copy (const SbPList &l)
  • SbPList & operator= (const SbPList &l)
  • void fit (void)
  • void append (void *item)
  • int find (const void *item) const
  • void insert (void *item, const int insertbefore)
  • void removeItem (void *item)
  • void remove (const int index)
  • void removeFast (const int index)
  • int getLength (void) const
  • void truncate (const int length, const int fit=0)
  • void ** getArrayPtr (const int start=0) const
  • void *& operator[] (const int index) const
  • int operator== (const SbPList &l) const
  • int operator!= (const SbPList &l) const
  • void * get (const int index) const
  • void set (const int index, void *item)

πŸ¦‹ Additional Inherited Members πŸ¦‹

🌈 Protected Member Functions inherited from SbPList 🌈

  • void expand (const int size)
  • int getArraySize (void) const

πŸ’… Detailed Description πŸ’…

The SbVec3fList class is a container for pointers to SbVec3f objects. literally its whole job, and it does it gorgeously. πŸ‘‘

⚠️ Note that upon using the equality and inequality operators, the SbVec3f objects themselves are not compared β€” only the pointer values. so like, vibe check on the addresses, not the contents. iykyk.
πŸ’€ Note also that all calls to append() and insert() will cause the list to allocate a new SbVec3f object. These objects are freed when the list is destructed. so it's giving "i brought you into this world and i will take you out of it," respectfully.

πŸ‘€ See also

SbList


🧚 Constructor & Destructor Documentation 🧚

🌟 SbVec3fList::SbVec3fList (void ) [inline]

Default constructor. she's born. 🐣✨

🌟 SbVec3fList::~SbVec3fList ()

Destructor. she's free. the SbVec3f objects she allocated get freed too, periodt. 🫧


πŸ’– Member Function Documentation πŸ’–

⭐ void SbVec3fList::append (const SbVec3f * item) [inline]

Append item to the end of the list. like she goes at the back of the line, no cutting. πŸšΆβ™€οΈ

Automatically allocates more items internally if needed. growth mindset fr fr. 🌱

Overloaded from parent to allocate a new SbVec3f instance when called.

See also: SbPList::append()

⭐ void SbVec3fList::insert (const SbVec3f * item, const int insertbefore) [inline]

Insert item at index insertbefore. she's cutting the line but legally. πŸ’β™€οΈ

⚠️ insertbefore should not be larger than the current number of items in the list. do not test her like that.

Overloaded from parent to allocate a new SbVec3f instance when called.

See also: SbPList::insert()

⭐ SbVec3f * SbVec3fList::operator[] (const int idx) const [inline]

Returns element at index. just hand it the idx and she hands you the goods. 🎁

Will automatically expand the size of the internal array if index is outside the current bounds of the list. The values of any additional pointers are then set to NULL. iconic behaviour, honestly. πŸ”₯

Overloaded from parent to return an SbVec3f pointer.

See also: SbPList::operator[]()


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Coin from the source code. (yes the robots wrote this one, we just made it cute. πŸ€–πŸ’–)


and that's the whole page bestie!! this is Coin, version 4.0.10, and the page was dated Thu Jun 25 2026 00:00:00. slay, go forth and container your SbVec3f pointers responsibly πŸ’…βœ¨πŸŒΈ

πŸ“¦ where this page comes from