AGX Dynamics  2.35.0.1
agxModel::IDSpan< T > Class Template Reference

A read-only view into data computed by InverseDynamics. More...

#include <InverseDynamics.h>

Public Member Functions

const T & at (size_t index) const
 Fetch value at index. Input index must be less than size. More...
 
const T & operator[] (size_t index) const
 
size_t size () const
 Number of elements accessible via this view into the data. More...
 

Detailed Description

template<typename T>
class agxModel::IDSpan< T >

A read-only view into data computed by InverseDynamics.

References to the data should not be stored over time. If persistance is needed, make copies.

Definition at line 127 of file InverseDynamics.h.

Member Function Documentation

◆ at()

template<typename T >
const T & agxModel::IDSpan< T >::at ( size_t  index) const
inline

Fetch value at index. Input index must be less than size.

Definition at line 855 of file InverseDynamics.h.

◆ operator[]()

template<typename T >
const T & agxModel::IDSpan< T >::operator[] ( size_t  index) const
inline

Definition at line 862 of file InverseDynamics.h.

◆ size()

template<typename T >
size_t agxModel::IDSpan< T >::size
inline

Number of elements accessible via this view into the data.

Definition at line 868 of file InverseDynamics.h.

References m_size.


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