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

STLASCIILexer Class Reference

Collaboration diagram for STLASCIILexer:

List of all members.


Public Member Functions

 STLASCIILexer (istream *is, const label approxNpoints)
 From input stream and the approximate number of vertices in the STL.
int lex ()
 The lexer function itself.
bool sorted () const
 Do all the solid groups appear in order.
DynamicList< point > & points ()
 A list of points corresponding to a pointField.
DynamicList< label > & facets ()
 A list of facet IDs (group IDs).
DynamicList< word > & names ()
 Names.
DynamicList< label > & sizes ()
 Sizes.
 STLASCIILexer (istream *is, const label approxNpoints)
 From input stream and the approximate number of vertices in the STL.
int lex ()
 The lexer function itself.
bool sorted () const
 Do all the solid groups appear in order.
DynamicList< point > & points ()
 A list of points corresponding to a pointField.
DynamicList< label > & facets ()
 A list of facet IDs (group IDs).
DynamicList< word > & names ()
 Names.
DynamicList< label > & sizes ()
 Sizes.
 STLASCIILexer (istream *is, const label approxNpoints)
 From input stream and the approximate number of vertices in the STL.
int lex ()
 The lexer function itself.
bool sorted () const
 Do all the solid groups appear in order.
DynamicList< point > & points ()
 A list of points corresponding to a pointField.
DynamicList< label > & facets ()
 A list of facet IDs (group IDs).
DynamicList< word > & names ()
 Names.
DynamicList< label > & sizes ()
 Sizes.
 STLASCIILexer (istream *is, const label approxNpoints)
 From input stream and the approximate number of vertices in the STL.
int lex ()
 The lexer function itself.
bool sorted () const
 Do all the solid groups appear in order.
DynamicList< point > & points ()
 A list of points corresponding to a pointField.
DynamicList< label > & facets ()
 A list of facet IDs (group IDs).
DynamicList< word > & names ()
 Names.
DynamicList< label > & sizes ()
 Sizes.

Detailed Description

A lexer for parsing STL ASCII files.

Returns DynamicList(s) of points and facets (zoneIds). The facets are within a solid/endsolid grouping

Definition at line 5261 of file STLsurfaceFormatASCII.C.


Constructor & Destructor Documentation

STLASCIILexer ( istream *  is,
const label  approxNpoints 
)

From input stream and the approximate number of vertices in the STL.

Definition at line 5328 of file STLsurfaceFormatASCII.C.

STLASCIILexer ( istream *  is,
const label  approxNpoints 
)

From input stream and the approximate number of vertices in the STL.

STLASCIILexer ( istream *  is,
const label  approxNpoints 
)

From input stream and the approximate number of vertices in the STL.

STLASCIILexer ( istream *  is,
const label  approxNpoints 
)

From input stream and the approximate number of vertices in the STL.


Member Function Documentation

bool sorted (  )  const [inline]

Do all the solid groups appear in order.

Definition at line 5294 of file STLsurfaceFormatASCII.C.

DynamicList<point>& points (  )  [inline]

A list of points corresponding to a pointField.

Definition at line 5300 of file STLsurfaceFormatASCII.C.

DynamicList<label>& facets (  )  [inline]

A list of facet IDs (group IDs).

corresponds to the number of triangles

Definition at line 5309 of file STLsurfaceFormatASCII.C.

DynamicList<word>& names (  )  [inline]

Names.

Definition at line 5315 of file STLsurfaceFormatASCII.C.

DynamicList<label>& sizes (  )  [inline]

Sizes.

Definition at line 5321 of file STLsurfaceFormatASCII.C.

int lex (  ) 

The lexer function itself.

bool sorted (  )  const [inline]

Do all the solid groups appear in order.

Definition at line 5294 of file STLsurfaceFormatASCII.C.

DynamicList<point>& points (  )  [inline]

A list of points corresponding to a pointField.

Definition at line 5300 of file STLsurfaceFormatASCII.C.

DynamicList<label>& facets (  )  [inline]

A list of facet IDs (group IDs).

corresponds to the number of triangles

Definition at line 5309 of file STLsurfaceFormatASCII.C.

DynamicList<word>& names (  )  [inline]

Names.

Definition at line 5315 of file STLsurfaceFormatASCII.C.

DynamicList<label>& sizes (  )  [inline]

Sizes.

Definition at line 5321 of file STLsurfaceFormatASCII.C.

int lex (  ) 

The lexer function itself.

bool sorted (  )  const [inline]

Do all the solid groups appear in order.

Definition at line 5294 of file STLsurfaceFormatASCII.C.

DynamicList<point>& points (  )  [inline]

A list of points corresponding to a pointField.

Definition at line 5300 of file STLsurfaceFormatASCII.C.

DynamicList<label>& facets (  )  [inline]

A list of facet IDs (group IDs).

corresponds to the number of triangles

Definition at line 5309 of file STLsurfaceFormatASCII.C.

DynamicList<word>& names (  )  [inline]

Names.

Definition at line 5315 of file STLsurfaceFormatASCII.C.

DynamicList<label>& sizes (  )  [inline]

Sizes.

Definition at line 5321 of file STLsurfaceFormatASCII.C.

int lex (  ) 

The lexer function itself.

bool sorted (  )  const [inline]

Do all the solid groups appear in order.

Definition at line 5294 of file STLsurfaceFormatASCII.C.

DynamicList<point>& points (  )  [inline]

A list of points corresponding to a pointField.

Definition at line 5300 of file STLsurfaceFormatASCII.C.

DynamicList<label>& facets (  )  [inline]

A list of facet IDs (group IDs).

corresponds to the number of triangles

Definition at line 5309 of file STLsurfaceFormatASCII.C.

DynamicList<word>& names (  )  [inline]

Names.

Definition at line 5315 of file STLsurfaceFormatASCII.C.

DynamicList<label>& sizes (  )  [inline]

Sizes.

Definition at line 5321 of file STLsurfaceFormatASCII.C.


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