Blender  V3.3
Public Member Functions | Public Attributes | List of all members
btSymMatrix< T > Struct Template Reference

#include <btSoftBodyInternals.h>

Public Member Functions

 btSymMatrix ()
 
 btSymMatrix (int n, const T &init=T())
 
void resize (int n, const T &init=T())
 
int index (int c, int r) const
 
Toperator() (int c, int r)
 
const Toperator() (int c, int r) const
 

Public Attributes

btAlignedObjectArray< Tstore
 
int dim
 

Detailed Description

template<typename T>
struct btSymMatrix< T >

Definition at line 638 of file btSoftBodyInternals.h.

Constructor & Destructor Documentation

◆ btSymMatrix() [1/2]

template<typename T >
btSymMatrix< T >::btSymMatrix ( )
inline

Definition at line 640 of file btSoftBodyInternals.h.

◆ btSymMatrix() [2/2]

template<typename T >
btSymMatrix< T >::btSymMatrix ( int  n,
const T init = T() 
)
inline

Definition at line 641 of file btSoftBodyInternals.h.

References init, and btSymMatrix< T >::resize().

Member Function Documentation

◆ index()

template<typename T >
int btSymMatrix< T >::index ( int  c,
int  r 
) const
inline

Definition at line 647 of file btSoftBodyInternals.h.

References btAssert, btSwap(), Freestyle::c, btSymMatrix< T >::dim, and r.

Referenced by btSymMatrix< T >::operator()().

◆ operator()() [1/2]

template<typename T >
T& btSymMatrix< T >::operator() ( int  c,
int  r 
)
inline

◆ operator()() [2/2]

template<typename T >
const T& btSymMatrix< T >::operator() ( int  c,
int  r 
) const
inline

◆ resize()

template<typename T >
void btSymMatrix< T >::resize ( int  n,
const T init = T() 
)
inline

Member Data Documentation

◆ dim

template<typename T >
int btSymMatrix< T >::dim

Definition at line 656 of file btSoftBodyInternals.h.

Referenced by btSymMatrix< T >::index(), and btSymMatrix< T >::resize().

◆ store

template<typename T >
btAlignedObjectArray<T> btSymMatrix< T >::store

The documentation for this struct was generated from the following file: