iDynTree::IndexRange struct

Simple structure describing a range of rows or columns in a vector or a matrix.

The offset attributes indicates the index of the first element of the range, while the size indicates the size of the range.

Example: offset = 2, size = 3 measn the elements 2 3 4 .

Public static functions

static auto InvalidRange() -> IndexRange

Public functions

auto isValid() const -> bool

Public variables

std::ptrdiff_t offset
std::ptrdiff_t size