MbIjToI Class Reference
[Mesh implementation example]

MeshViz Simple adaptor that transforms a pair of indices (i,j) into a single index. More...

#include <MeshVizXLM/mesh/MbIjToI.h>

Inheritance diagram for MbIjToI:
MbGeometryIj< _Vec3T > MbScalarSetIj< _T > MbStringSetIj MbTopologyIj MbVec3SetIj< _Vec3T >

List of all members.

Public Member Functions

 MbIjToI (size_t numCellI)
size_t getI (size_t i, size_t j) const

Detailed Description

MeshViz Simple adaptor that transforms a pair of indices (i,j) into a single index.

Transforms matrix(N,M) indices into a single index.


Constructor & Destructor Documentation

MbIjToI::MbIjToI ( size_t  numCellI  )  [inline]

Constructor.

Parameters:
numCellI number of cells on the first axis of the input matrix.

Member Function Documentation

size_t MbIjToI::getI ( size_t  i,
size_t  j 
) const [inline]

Computes the index associated with the pair (i,j).


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

Open Inventor by FEI reference manual, generated on 20 Aug 2019
Copyright © FEI S.A.S. All rights reserved.
http://www.openinventor.com/