.TH "SbVec3fList" 3 "Tue Dec 26 2023 17:59:22" "Version 4.0.2" "Coin" \" -*- nroff -*- .ad l .nh .SH NAME SbVec3fList \- The \fBSbVec3fList\fP class is a container for pointers to \fBSbVec3f\fP objects\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBSbPList\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBSbVec3fList\fP (\fBvoid\fP)" .br .ti -1c .RI "\fB~SbVec3fList\fP ()" .br .ti -1c .RI "\fBvoid\fP \fBappend\fP (\fBconst\fP \fBSbVec3f\fP *\fBitem\fP)" .br .ti -1c .RI "\fBvoid\fP \fBinsert\fP (\fBconst\fP \fBSbVec3f\fP *\fBitem\fP, \fBconst\fP int \fBinsertbefore\fP)" .br .ti -1c .RI "\fBSbVec3f\fP * \fBoperator[]\fP (\fBconst\fP int idx) \fBconst\fP" .br .in -1c Public Member Functions inherited from \fBSbPList\fP .in +1c .ti -1c .RI "\fBSbPList\fP (\fBconst\fP int \fBsizehint\fP=DEFAULTSIZE)" .br .ti -1c .RI "\fBSbPList\fP (\fBconst\fP \fBSbPList\fP &\fBl\fP)" .br .ti -1c .RI "\fB~SbPList\fP ()" .br .ti -1c .RI "\fBvoid\fP \fBcopy\fP (\fBconst\fP \fBSbPList\fP &\fBl\fP)" .br .ti -1c .RI "\fBSbPList\fP & \fBoperator=\fP (\fBconst\fP \fBSbPList\fP &\fBl\fP)" .br .ti -1c .RI "\fBvoid\fP \fBfit\fP (\fBvoid\fP)" .br .ti -1c .RI "\fBvoid\fP \fBappend\fP (\fBvoid\fP *\fBitem\fP)" .br .ti -1c .RI "int \fBfind\fP (\fBconst\fP \fBvoid\fP *\fBitem\fP) \fBconst\fP" .br .ti -1c .RI "\fBvoid\fP \fBinsert\fP (\fBvoid\fP *\fBitem\fP, \fBconst\fP int \fBinsertbefore\fP)" .br .ti -1c .RI "\fBvoid\fP \fBremoveItem\fP (\fBvoid\fP *\fBitem\fP)" .br .ti -1c .RI "\fBvoid\fP \fBremove\fP (\fBconst\fP int index)" .br .ti -1c .RI "\fBvoid\fP \fBremoveFast\fP (\fBconst\fP int index)" .br .ti -1c .RI "int \fBgetLength\fP (\fBvoid\fP) \fBconst\fP" .br .ti -1c .RI "\fBvoid\fP \fBtruncate\fP (\fBconst\fP int length, \fBconst\fP int \fBfit\fP=0)" .br .ti -1c .RI "\fBvoid\fP ** \fBgetArrayPtr\fP (\fBconst\fP int start=0) \fBconst\fP" .br .ti -1c .RI "\fBvoid\fP *& \fBoperator[]\fP (\fBconst\fP int index) \fBconst\fP" .br .ti -1c .RI "int \fBoperator==\fP (\fBconst\fP \fBSbPList\fP &\fBl\fP) \fBconst\fP" .br .ti -1c .RI "int \fBoperator!=\fP (\fBconst\fP \fBSbPList\fP &\fBl\fP) \fBconst\fP" .br .ti -1c .RI "\fBvoid\fP * \fBget\fP (\fBconst\fP int index) \fBconst\fP" .br .ti -1c .RI "\fBvoid\fP \fBset\fP (\fBconst\fP int index, \fBvoid\fP *\fBitem\fP)" .br .in -1c .SS "Additional Inherited Members" Protected Member Functions inherited from \fBSbPList\fP .in +1c .ti -1c .RI "\fBvoid\fP \fBexpand\fP (\fBconst\fP int size)" .br .ti -1c .RI "int \fBgetArraySize\fP (\fBvoid\fP) \fBconst\fP" .br .in -1c .SH "Detailed Description" .PP The \fBSbVec3fList\fP class is a container for pointers to \fBSbVec3f\fP objects\&. Note that upon using the equality and inequality operators, the \fBSbVec3f\fP objects themselves are not compared, only the pointer values\&. .PP Note also that all calls to \fBappend()\fP and \fBinsert()\fP will cause the list to allocate a new \fBSbVec3f\fP object\&. These objects are freed when the list is destructed\&. .PP \fBSee also\fP .RS 4 \fBSbList\fP .RE .PP .SH "Constructor & Destructor Documentation" .PP .SS "SbVec3fList::SbVec3fList (\fBvoid\fP)\fC [inline]\fP" Default constructor\&. .SS "SbVec3fList::~SbVec3fList ()" Destructor\&. .SH "Member Function Documentation" .PP .SS "\fBvoid\fP SbVec3fList::append (\fBconst\fP \fBSbVec3f\fP * item)\fC [inline]\fP" Append \fIitem\fP to the end of the list\&. .PP Automatically allocates more items internally if needed\&. .PP Overloaded from parent to allocate a new \fBSbVec3f\fP instance when called\&. .PP \fBSee also\fP .RS 4 \fBSbPList::append()\fP .RE .PP .SS "\fBvoid\fP SbVec3fList::insert (\fBconst\fP \fBSbVec3f\fP * item, \fBconst\fP int insertbefore)\fC [inline]\fP" Insert \fIitem\fP at index \fIinsertbefore\fP\&. .PP \fIinsertbefore\fP should not be larger than the current number of items in the list\&. .PP Overloaded from parent to allocate a new \fBSbVec3f\fP instance when called\&. .PP \fBSee also\fP .RS 4 \fBSbPList::insert()\fP .RE .PP .SS "\fBSbVec3f\fP * SbVec3fList::operator[] (\fBconst\fP int idx) const\fC [inline]\fP" Returns element at \fIindex\fP\&. .PP Will automatically expand the size of the internal array if \fIindex\fP is outside the current bounds of the list\&. The values of any additional pointers are then set to \fCNULL\fP\&. .PP Overloaded from parent to return an \fBSbVec3f\fP pointer\&. .PP \fBSee also\fP .RS 4 \fBSbPList::operator[]()\fP .RE .PP .SH "Author" .PP Generated automatically by Doxygen for Coin from the source code\&.