treeDataFace Class ReferenceEncapsulation of data needed to search for faces.
More...
List of all members.
|
Public Member Functions |
| | ClassName ("treeDataFace") |
| | treeDataFace (const bool cacheBb, const primitiveMesh &, const labelList &) |
| | Construct from mesh and subset of faces.
|
| | treeDataFace (const bool cacheBb, const primitiveMesh &) |
| | Construct from mesh. Uses all faces in mesh.
|
| | treeDataFace (const bool cacheBb, const polyPatch &) |
| | Construct from mesh. Uses all faces in patch.
|
| const labelList & | faceLabels () const |
| const primitiveMesh & | mesh () const |
| label | size () const |
| pointField | points () const |
| | Get representative point cloud for all shapes inside.
|
| label | getVolumeType (const indexedOctree< treeDataFace > &, const point &) const |
| | Get type (inside,outside,mixed,unknown) of point w.r.t. surface.
|
| bool | overlaps (const label index, const treeBoundBox &sampleBb) const |
| | Does (bb of) shape at index overlap bb.
|
| void | findNearest (const labelList &indices, const point &sample, scalar &nearestDistSqr, label &nearestIndex, point &nearestPoint) const |
| | Calculates nearest (to sample) point in shape.
|
| void | findNearest (const labelList &indices, const linePointRef &ln, treeBoundBox &tightest, label &minIndex, point &linePoint, point &nearestPoint) const |
| | Calculates nearest (to line) point in shape.
|
| bool | intersects (const label index, const point &start, const point &end, point &result) const |
| | Calculate intersection of shape with ray. Sets result.
|
Detailed Description
Encapsulation of data needed to search for faces.
- Source files
-
Definition at line 52 of file treeDataFace.H.
Constructor & Destructor Documentation
Construct from mesh and subset of faces.
Definition at line 73 of file treeDataFace.C.
Construct from mesh. Uses all faces in mesh.
Definition at line 89 of file treeDataFace.C.
Construct from mesh. Uses all faces in patch.
Definition at line 104 of file treeDataFace.C.
Member Function Documentation
| ClassName |
( |
"treeDataFace" |
|
) |
|
| const labelList& faceLabels |
( |
|
) |
const [inline] |
| label size |
( |
|
) |
const [inline] |
Get type (inside,outside,mixed,unknown) of point w.r.t. surface.
Only makes sense for closed surfaces.
Definition at line 142 of file treeDataFace.C.
Does (bb of) shape at index overlap bb.
Definition at line 400 of file treeDataFace.C.
Calculates nearest (to sample) point in shape.
Returns actual point and distance (squared)
Definition at line 463 of file treeDataFace.C.
The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd
|