Blender V5.0
gim_contact_array Class Reference

#include <gim_contact.h>

Inherits gim_array< GIM_CONTACT >.

Public Member Functions

 gim_contact_array ()
SIMD_FORCE_INLINE void push_contact (const btVector3 &point, const btVector3 &normal, GREAL depth, GUINT feature1, GUINT feature2)
SIMD_FORCE_INLINE void push_triangle_contacts (const GIM_TRIANGLE_CONTACT_DATA &tricontact, GUINT feature1, GUINT feature2)
void merge_contacts (const gim_contact_array &contacts, bool normal_contact_average=true)
void merge_contacts_unique (const gim_contact_array &contacts)
Public Member Functions inherited from gim_array< GIM_CONTACT >
void destroyData ()
bool resizeData (GUINT newsize)
bool growingCheck ()
bool reserve (GUINT size)
void clear_range (GUINT start_range)
void clear ()
void clear_memory ()
 gim_array ()
 ~gim_array ()
GUINT size () const
GUINT max_size () const
GIM_CONTACToperator[] (size_t i)
GIM_CONTACTpointer ()
GIM_CONTACTget_pointer_at (GUINT i)
GIM_CONTACTat (GUINT i)
GIM_CONTACTfront ()
GIM_CONTACTback ()
void swap (GUINT i, GUINT j)
void push_back (const GIM_CONTACT &obj)
void push_back_mem ()
 Simply increase the m_size, doesn't call the new element constructor.
void push_back_memcpy (const GIM_CONTACT &obj)
void pop_back ()
void pop_back_mem ()
 Simply decrease the m_size, doesn't call the deleted element destructor.
void erase (GUINT index)
 fast erase
void erase_sorted_mem (GUINT index)
void erase_sorted (GUINT index)
void insert_mem (GUINT index)
void insert (const GIM_CONTACT &obj, GUINT index)
void resize (GUINT size, bool call_constructor=true, const GIM_CONTACT &fillData=GIM_CONTACT())
void refit ()

Additional Inherited Members

Public Attributes inherited from gim_array< GIM_CONTACT >
GIM_CONTACTm_data
GUINT m_size
GUINT m_allocated_size

Detailed Description

Definition at line 129 of file gim_contact.h.

Constructor & Destructor Documentation

◆ gim_contact_array()

gim_contact_array::gim_contact_array ( )
inline

Definition at line 132 of file gim_contact.h.

References gim_array< GIM_CONTACT >::gim_array().

Referenced by merge_contacts(), and merge_contacts_unique().

Member Function Documentation

◆ merge_contacts()

◆ merge_contacts_unique()

◆ push_contact()

◆ push_triangle_contacts()


The documentation for this class was generated from the following files: