OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

AC3DsurfaceFormat< Face > Class Template Reference

Provide a means of reading/writing AC3D format. More...

Inheritance diagram for AC3DsurfaceFormat< Face >:
Collaboration diagram for AC3DsurfaceFormat< Face >:

List of all members.


Public Member Functions

 AC3DsurfaceFormat (const fileName &)
 Construct from file name.
virtual ~AC3DsurfaceFormat ()
virtual bool read (const fileName &)
 Read from file.
virtual void write (const fileName &name) const
 Write object.

Static Public Member Functions

static autoPtr< MeshedSurface
< Face > > 
New (const fileName &name)
 Read file and return surface.
static void write (const fileName &, const MeshedSurfaceProxy< Face > &)
 Write surface mesh components by proxy.
static void write (const fileName &, const UnsortedMeshedSurface< Face > &)
 Write UnsortedMeshedSurface, the output is always sorted by zones.

Detailed Description

template<class Face>
class Foam::fileFormats::AC3DsurfaceFormat< Face >

Provide a means of reading/writing AC3D format.

http://www.inivis.com/ac3d/man/ac3dfileformat.html

Note:
On input, the faces are already organized as zones. The output is always sorted by zones. In the absence of zones, a single zone will be assigned.
Source files

Definition at line 57 of file AC3DsurfaceFormat.H.


Constructor & Destructor Documentation

AC3DsurfaceFormat ( const fileName filename  )  [inline]

Construct from file name.

Definition at line 28 of file AC3DsurfaceFormat.C.

virtual ~AC3DsurfaceFormat (  )  [inline, virtual]

Definition at line 93 of file AC3DsurfaceFormat.H.


Member Function Documentation

static autoPtr<MeshedSurface<Face> > New ( const fileName name  )  [inline, static]

Read file and return surface.

Reimplemented from MeshedSurface< Face >.

Definition at line 82 of file AC3DsurfaceFormat.H.

void write ( const fileName filename,
const MeshedSurfaceProxy< Face > &  surf 
) [inline, static]

Write surface mesh components by proxy.

Definition at line 269 of file AC3DsurfaceFormat.C.

void write ( const fileName filename,
const UnsortedMeshedSurface< Face > &  surf 
) [inline, static]

Write UnsortedMeshedSurface, the output is always sorted by zones.

Definition at line 364 of file AC3DsurfaceFormat.C.

bool read ( const fileName filename  )  [inline, virtual]

Read from file.

Reimplemented from MeshedSurface< Face >.

Definition at line 40 of file AC3DsurfaceFormat.C.

virtual void write ( const fileName name  )  const [inline, virtual]

Write object.

Reimplemented from MeshedSurface< Face >.

Definition at line 109 of file AC3DsurfaceFormat.H.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd