|
|
|
STLsurfaceFormat< Face > Class Template ReferenceProvide a means of reading/writing STL files (ASCII and binary). More...
Inheritance diagram for STLsurfaceFormat< Face >:
![]()
Collaboration diagram for STLsurfaceFormat< Face >:
![]()
Detailed Descriptiontemplate<class Face>
Provide a means of reading/writing STL files (ASCII and binary).
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| STLsurfaceFormat | ( | const fileName & | filename | ) | [inline] |
| virtual ~STLsurfaceFormat | ( | ) | [inline, virtual] |
| static autoPtr<MeshedSurface<Face> > New | ( | const fileName & | name | ) | [inline, static] |
Read file and return surface.
Reimplemented from MeshedSurface< Face >.
Definition at line 96 of file STLsurfaceFormat.H.
| void writeAscii | ( | const fileName & | filename, | |
| const MeshedSurfaceProxy< Face > & | surf | |||
| ) | [inline, static] |
Write surface mesh components by proxy (as ASCII).
Definition at line 184 of file STLsurfaceFormat.C.
Referenced by STLsurfaceFormat< Face >::write().

| void writeBinary | ( | const fileName & | filename, | |
| const MeshedSurfaceProxy< Face > & | surf | |||
| ) | [inline, static] |
Write surface mesh components by proxy (as BINARY).
Definition at line 244 of file STLsurfaceFormat.C.
| void write | ( | const fileName & | filename, | |
| const MeshedSurfaceProxy< Face > & | surf | |||
| ) | [inline, static] |
Write surface mesh components by proxy.
as ASCII or BINARY, depending on the extension
Definition at line 436 of file STLsurfaceFormat.C.
Referenced by STLsurfaceFormat< Face >::write().

| void writeAscii | ( | const fileName & | filename, | |
| const UnsortedMeshedSurface< Face > & | surf | |||
| ) | [inline, static] |
Write UnsortedMeshedSurface (as ASCII) sorted by zone.
Definition at line 330 of file STLsurfaceFormat.C.
| void writeBinary | ( | const fileName & | filename, | |
| const UnsortedMeshedSurface< Face > & | surf | |||
| ) | [inline, static] |
Write UnsortedMeshedSurface (as BINARY) unsorted by zone.
Definition at line 382 of file STLsurfaceFormat.C.
| void write | ( | const fileName & | filename, | |
| const UnsortedMeshedSurface< Face > & | surf | |||
| ) | [inline, static] |
Write UnsortedMeshedSurface.
as ASCII or BINARY, depending on the extension
Definition at line 457 of file STLsurfaceFormat.C.
References STLsurfaceFormat< Face >::writeAscii().

| bool read | ( | const fileName & | filename | ) | [inline, virtual] |
Read from file.
Reimplemented from MeshedSurface< Face >.
Definition at line 119 of file STLsurfaceFormat.C.
| virtual void write | ( | const fileName & | name | ) | const [inline, virtual] |
Write object.
Reimplemented from MeshedSurface< Face >.
Definition at line 156 of file STLsurfaceFormat.H.
References STLsurfaceFormat< Face >::write().
