OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

triSurfaceMeshes Class Reference

Inheritance diagram for triSurfaceMeshes:

Inheritance graph
[legend]
Collaboration diagram for triSurfaceMeshes:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 62 of file triSurfaceMeshes.H.


Public Member Functions

 triSurfaceMeshes (const IOobject &io, const fileNameList &)
 Construct from directory (io.instance()) and list of local filenames.
void clearOut ()
 Clear derived storage.
const fileNameList & names () const
 Get current list of surfaces.
const PtrList< indexedOctree<
treeDataTriSurface > > & 
trees () const
 Get trees for searching.
label findAnyIntersection (const labelList &surfacesToTest, const point &start, const point &end, pointIndexHit &) const
 Find any intersection. Return hit point information and surface.
label findAnyIntersection (const point &start, const point &end, pointIndexHit &) const
void findAllIntersections (const labelList &surfacesToTest, const point &start, const point &end, labelList &surfaces, List< pointIndexHit > &surfaceHits) const
 Find all intersections in order from start to end. Returns for.
void findAllIntersections (const point &start, const point &end, labelList &surfaces, List< pointIndexHit > &surfaceHits) const
void findNearestIntersection (const labelList &surfacesToTest, const point &start, const point &end, label &surface1, pointIndexHit &hit1, label &surface2, pointIndexHit &hit2) const
 Find intersections of edge nearest to both endpoints.
void findNearestIntersection (const point &start, const point &end, label &surface1, pointIndexHit &hit1, label &surface2, pointIndexHit &hit2) const
label findNearest (const labelList &surfacesToTest, const point &, const scalar nearestDistSqr, pointIndexHit &) const
 Find nearest. Return -1 or surface and nearest point (in.
label findNearest (const point &, const scalar nearestDistSqr, pointIndexHit &) const

Static Public Member Functions

static fileNameList allNames (const IOobject &)
 Get all surfaces in directory.

Constructor & Destructor Documentation

triSurfaceMeshes ( const IOobject &  io,
const fileNameList &   
)

Construct from directory (io.instance()) and list of local filenames.


Member Function Documentation

void clearOut (  ) 

Clear derived storage.

static fileNameList allNames ( const IOobject &   )  [static]

Get all surfaces in directory.

const fileNameList& names (  )  const [inline]

Get current list of surfaces.

Definition at line 106 of file triSurfaceMeshes.H.

const PtrList<indexedOctree<treeDataTriSurface> >& trees (  )  const [inline]

Get trees for searching.

Definition at line 112 of file triSurfaceMeshes.H.

label findAnyIntersection ( const labelList &  surfacesToTest,
const point &  start,
const point &  end,
pointIndexHit &   
) const

Find any intersection. Return hit point information and surface.

number

label findAnyIntersection ( const point &  start,
const point &  end,
pointIndexHit &   
) const

void findAllIntersections ( const labelList &  surfacesToTest,
const point &  start,
const point &  end,
labelList &  surfaces,
List< pointIndexHit > &  surfaceHits 
) const

Find all intersections in order from start to end. Returns for.

every hit the surface and the hit info.

void findAllIntersections ( const point &  start,
const point &  end,
labelList &  surfaces,
List< pointIndexHit > &  surfaceHits 
) const

void findNearestIntersection ( const labelList &  surfacesToTest,
const point &  start,
const point &  end,
label &  surface1,
pointIndexHit &  hit1,
label &  surface2,
pointIndexHit &  hit2 
) const

Find intersections of edge nearest to both endpoints.

void findNearestIntersection ( const point &  start,
const point &  end,
label &  surface1,
pointIndexHit &  hit1,
label &  surface2,
pointIndexHit &  hit2 
) const

label findNearest ( const labelList &  surfacesToTest,
const point &  ,
const scalar  nearestDistSqr,
pointIndexHit &   
) const

Find nearest. Return -1 or surface and nearest point (in.

pointIndexHit)

label findNearest ( const point &  ,
const scalar  nearestDistSqr,
pointIndexHit &   
) const


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