Main Page   Packages   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

OuvertOuvertOnAxisBoth Class Reference

#include <Topolog.hpp>

Inheritance diagram for OuvertOuvertOnAxisBoth::

OuvertOuvert numerotation List of all members.

Public Methods

 OuvertOuvertOnAxisBoth (UINT m=0, UINT n=0)

Protected Methods

Cardinal CardinalSommet ()
Cardinal CardinalArc ()
Index Noeud (Index i, Index j)
Index Arete1 (Index i, Index j)
Index Arete2 (Index i, Index j)
Index som2 (Index i, Index j)
Index som4 (Index i, Index j)

Constructor & Destructor Documentation

OuvertOuvertOnAxisBoth::OuvertOuvertOnAxisBoth UINT    m = 0,
UINT    n = 0
[inline]
 

Definition at line 281 of file Topolog.hpp.

00282                                              : OuvertOuvert(m,n){ }


Member Function Documentation

Index OuvertOuvertOnAxisBoth::Arete1 Index    i,
Index    j
[inline, protected, virtual]
 

Reimplemented from OuvertOuvert.

Definition at line 293 of file Topolog.hpp.

00294     { if ( UseMode == CREATION&&
00295      (j == 0 || j == n || j > n || i == m) ) return NULLINDEX;
00296       return j + (n-1) + i* ( 2* n - 1 ) + __Decal; }

Index OuvertOuvertOnAxisBoth::Arete2 Index    i,
Index    j
[inline, protected, virtual]
 

Reimplemented from OuvertOuvert.

Definition at line 298 of file Topolog.hpp.

00299     { if ( UseMode == CREATION&& (i > m || j == n) ) return NULLINDEX;
00300       return j + i* ( 2*n-1 ) + __Decal; }

Cardinal OuvertOuvertOnAxisBoth::CardinalArc   [inline, protected, virtual]
 

Reimplemented from OuvertOuvert.

Definition at line 286 of file Topolog.hpp.

00286 { return (m+1)*n + m*(n-1); }

Cardinal OuvertOuvertOnAxisBoth::CardinalSommet   [inline, protected, virtual]
 

Reimplemented from numerotation.

Definition at line 285 of file Topolog.hpp.

00285 { return (m+1)*(n-1)+2; }

Index OuvertOuvertOnAxisBoth::Noeud Index    i,
Index    j
[inline, protected, virtual]
 

Reimplemented from OuvertOuvert.

Definition at line 288 of file Topolog.hpp.

00289     { return (j==0)? CardinalSommet()-1 : // __Decal est dejas implicite.
00290                      ((j ==n)? CardinalSommet() : // Idem.
00291                                j - 1 + i* ( n-1 ) + __Decal ); }

Index OuvertOuvertOnAxisBoth::som2 Index    i,
Index    j
[inline, protected, virtual]
 

Reimplemented from numerotation.

Definition at line 302 of file Topolog.hpp.

00303     { return (j==0) ? som1(i,j) : numerotation::som2(i,j); }

Index OuvertOuvertOnAxisBoth::som4 Index    i,
Index    j
[inline, protected, virtual]
 

Reimplemented from numerotation.

Definition at line 305 of file Topolog.hpp.

00306     { return (j==n) ? som3(i,j) : numerotation::som4(i,j); }


The documentation for this class was generated from the following file:
Generated on Sun Oct 14 18:49:29 2001 for Standard J2K Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001