#include <Maille.hpp>
Public Methods | |
| Maillage3DH (int s=0, int a=0, int f=0) | |
| virtual | ~Maillage3DH () |
| void | init (int s=0, int a=0, int f=0) |
| void | flush (BOOL fs=TRUE, BOOL fa=TRUE, BOOL ff=TRUE, BOOL fn=TRUE) |
Public Attributes | |
| Sommet3DH * | sommets |
| Sommet3DH * | normales |
| ArcD * | arcs |
| FaceC * | faces |
| int | cardsommets |
| int | cardnormales |
| int | cardarcs |
| int | cardfaces |
|
||||||||||||||||
|
Definition at line 118 of file Maille.hpp. 00119 : cardsommets (0), 00120 cardnormales(0), 00121 cardarcs (0), 00122 cardfaces (0), 00123 sommets (NULL), 00124 normales (NULL), 00125 arcs (NULL), 00126 faces (NULL) 00127 { 00128 init( s, a, f ); 00129 } |
|
|
Definition at line 131 of file Maille.hpp. 00131 { flush(); }
|
|
||||||||||||||||||||
|
Definition at line 75 of file Maille.cpp. 00075 {
00076
00077 if ( s && cardsommets && sommets ) {
00078 if (sommets) delete [] sommets;
00079 if (normales) delete [] normales;
00080 cardsommets = 0;
00081 sommets = normales = NULL;
00082 }
00083
00084 if ( n && cardnormales && normales ) {
00085 if (normales) delete [] normales;
00086 cardnormales = 0;
00087 normales = NULL;
00088 }
00089
00090 if ( a && cardarcs && arcs ) {
00091 delete [] arcs;
00092 cardarcs = 0;
00093 arcs = NULL;
00094 }
00095
00096 if ( f && cardfaces && faces ) {
00097 delete [] faces;
00098 cardfaces = 0;
00099 faces = NULL;
00100 }
00101
00102 }
|
|
||||||||||||||||
|
Definition at line 49 of file Maille.cpp. Referenced by operator>>().
00049 {
00050
00051 if( s ) {
00052 flush ( TRUE, FALSE, FALSE );
00053 sommets = new Sommet3DH[s];
00054 cardsommets = s;
00055 }
00056
00057 if( a ) {
00058 flush ( FALSE, TRUE, FALSE );
00059 arcs = new ArcD[a];
00060 cardarcs = a;
00061 }
00062
00063 if( f ) {
00064 flush ( FALSE, FALSE, TRUE );
00065
00066 faces = new FaceC[f];
00067 normales = new Sommet3DH[f];
00068 cardfaces = f;
00069 cardnormales = f;
00070 }
00071
00072 }
|
|
|
Definition at line 110 of file Maille.hpp. Referenced by operator<<().
|
|
|
Definition at line 113 of file Maille.hpp. Referenced by operator<<().
|
|
|
Definition at line 113 of file Maille.hpp. Referenced by operator<<().
|
|
|
Definition at line 113 of file Maille.hpp. |
|
|
Definition at line 113 of file Maille.hpp. Referenced by operator<<(), and operator>>().
|
|
|
Definition at line 111 of file Maille.hpp. Referenced by operator<<().
|
|
|
Definition at line 107 of file Maille.hpp. |
|
|
Definition at line 107 of file Maille.hpp. Referenced by operator<<(), and operator>>().
|
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001