FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

AC3DsurfaceFormat< Face > Class Template Reference

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

#include <surfMesh/AC3DsurfaceFormat.H>


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 62 of file AC3DsurfaceFormat.H.

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.

Constructor & Destructor Documentation

AC3DsurfaceFormat ( const fileName &   filename  )

Construct from file name.

Definition at line 36 of file AC3DsurfaceFormat.C.

virtual ~AC3DsurfaceFormat (  ) [inline, virtual]

Definition at line 98 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 87 of file AC3DsurfaceFormat.H.

References Foam::name().

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

Write object.

Reimplemented from MeshedSurface< Face >.

Definition at line 114 of file AC3DsurfaceFormat.H.

References AC3DsurfaceFormat< Face >::write().


The documentation for this class was generated from the following files: