Version: 6.3.1
Public Member Functions | Data Fields

_Indexer Struct Reference

Convertor of a pair of integers to a sole index. More...

Public Member Functions

 _Indexer (int xSize, int ySize)
int size () const
int operator() (const int x, const int y) const

Data Fields

int _xSize
int _ySize

Detailed Description

Convertor of a pair of integers to a sole index.

Definition at line 87 of file StdMeshers_CompositeHexa_3D.cxx.


Constructor & Destructor Documentation

_Indexer._Indexer ( int  xSize,
int  ySize 
)

Definition at line 90 of file StdMeshers_CompositeHexa_3D.cxx.

: _xSize(xSize), _ySize(ySize) {}

Member Function Documentation

int _Indexer.operator() ( const int  x,
const int  y 
) const

Definition at line 92 of file StdMeshers_CompositeHexa_3D.cxx.

References _xSize, and ex13_hole1partial.x.

{ return y * _xSize + x; }
int _Indexer.size ( ) const

Field Documentation

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS