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

edgeIntersections Class Reference

Holder of intersections of edges of a surface with another surface. Optionally shuffles around points on surface to resolve any 'conflicts' (edge hitting triangle edge, edge hitting point etc.). More...

Inheritance diagram for edgeIntersections:
Collaboration diagram for edgeIntersections:

List of all members.


Public Member Functions

 ClassName ("edgeIntersections")
 edgeIntersections ()
 Construct null.
 edgeIntersections (const triSurface &surf1, const triSurfaceSearch &query2, const scalarField &surf1PointTol)
 Construct from surface and tolerance.
 edgeIntersections (const List< List< pointIndexHit > > &, const labelListList &)
 Construct from components.
const labelListList & classification () const
 For every intersection the classification status.
label removeDegenerates (const label nIters, const triSurface &surf1, const triSurfaceSearch &query2, const scalarField &surf1PointTol, pointField &points1)
 Resolve ties. Shuffles points so all edge - face intersections.

Static Public Member Functions

static scalarField minEdgeLength (const triSurface &surf)
 Calculate min edge length for every surface point.

Static Public Attributes

static scalar alignedCos_
 cosine between edge and face normal when considered parallel

Detailed Description

Holder of intersections of edges of a surface with another surface. Optionally shuffles around points on surface to resolve any 'conflicts' (edge hitting triangle edge, edge hitting point etc.).

Source files

Definition at line 56 of file edgeIntersections.H.


Constructor & Destructor Documentation

Construct null.

Definition at line 475 of file edgeIntersections.C.

edgeIntersections ( const triSurface &  surf1,
const triSurfaceSearch &  query2,
const scalarField &  surf1PointTol 
)

Construct from surface and tolerance.

Definition at line 484 of file edgeIntersections.C.

edgeIntersections ( const List< List< pointIndexHit > > &  intersections,
const labelListList &  classification 
)

Construct from components.

Definition at line 519 of file edgeIntersections.C.


Member Function Documentation

ClassName ( "edgeIntersections"   ) 

Foam::scalarField minEdgeLength ( const triSurface &  surf  )  [static]

Calculate min edge length for every surface point.

Definition at line 531 of file edgeIntersections.C.

const labelListList& classification (  )  const [inline]

For every intersection the classification status.

Definition at line 185 of file edgeIntersections.H.

Foam::label removeDegenerates ( const label  nIters,
const triSurface &  surf1,
const triSurfaceSearch &  query2,
const scalarField &  surf1PointTol,
pointField &  points1 
)

Resolve ties. Shuffles points so all edge - face intersections.

will be on the face interior. Points will be the new surface points. Returns number of iterations needed. (= nIters if still has degenerate cuts)

Definition at line 559 of file edgeIntersections.C.


Member Data Documentation

Initial value:

cosine between edge and face normal when considered parallel

(note: should be private and make access- and set- function)

Definition at line 149 of file edgeIntersections.H.


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