Bullet Collision Detection & Physics Library: btVectorX< T > Struct Template Reference

Bullet Collision Detection & Physics Library

Public Member Functions | Public Attributes | List of all members
btVectorX< T > Struct Template Reference

`#include <btMatrixX.h>`

## Public Member Functions
| btVectorX ()
| btVectorX (int numRows)
void | resize (int rows)
int | cols () const
int | rows () const
int | size () const
T | nrm2 () const
void | setZero ()
const T & | operator[] (int index) const
T & | operator[] (int index)
T * | getBufferPointerWritable ()
const T * | getBufferPointer () const

## Public Attributes
btAlignedObjectArray< T > | m_storage

## Detailed Description

### template<typename T>
struct btVectorX< T >

Definition at line 41 of file btMatrixX.h.

## Constructor & Destructor Documentation

## ◆ btVectorX() [1/2]

template<typename T>

btVectorX< T >::btVectorX | ( |  | ) |
| inline

Definition at line 45 of file btMatrixX.h.

## ◆ btVectorX() [2/2]

template<typename T>

btVectorX< T >::btVectorX | ( | int | numRows | ) |
| inline

Definition at line 48 of file btMatrixX.h.

## Member Function Documentation

## ◆ cols()

template<typename T>

int btVectorX< T >::cols | ( |  | ) | const
| inline

Definition at line 57 of file btMatrixX.h.

## ◆ getBufferPointer()

template<typename T>

const T* btVectorX< T >::getBufferPointer | ( |  | ) | const
| inline

Definition at line 140 of file btMatrixX.h.

## ◆ getBufferPointerWritable()

template<typename T>

T* btVectorX< T >::getBufferPointerWritable | ( |  | ) |
| inline

Definition at line 135 of file btMatrixX.h.

## ◆ nrm2()

template<typename T>

T btVectorX< T >::nrm2 | ( |  | ) | const
| inline

Definition at line 70 of file btMatrixX.h.

## ◆ operator[]() [1/2]

template<typename T>

const T& btVectorX< T >::operator[] | ( | int | index | ) | const
| inline

Definition at line 125 of file btMatrixX.h.

## ◆ operator[]() [2/2]

template<typename T>

T& btVectorX< T >::operator[] | ( | int | index | ) |
| inline

Definition at line 130 of file btMatrixX.h.

## ◆ resize()

template<typename T>

void btVectorX< T >::resize | ( | int | rows | ) |
| inline

Definition at line 53 of file btMatrixX.h.

## ◆ rows()

template<typename T>

int btVectorX< T >::rows | ( |  | ) | const
| inline

Definition at line 61 of file btMatrixX.h.

## ◆ setZero()

template<typename T>

void btVectorX< T >::setZero | ( |  | ) |
| inline

Definition at line 115 of file btMatrixX.h.

## ◆ size()

template<typename T>

int btVectorX< T >::size | ( |  | ) | const
| inline

Definition at line 65 of file btMatrixX.h.

## Member Data Documentation

## ◆ m_storage

template<typename T>

btAlignedObjectArray<T> btVectorX< T >::m_storage

Definition at line 43 of file btMatrixX.h.

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

- btMatrixX.h