treeDataTriSurface Class ReferenceCollaboration diagram for treeDataTriSurface:
[legend]List of all members.
Detailed Description
Definition at line 62 of file treeDataTriSurface.H.
|
Public Member Functions |
| | ClassName ("treeDataTriSurface") |
| | treeDataTriSurface (const triSurface &) |
| | Construct from triSurface. Holds reference.
|
| const triSurface & | surface () const |
| label | size () const |
| pointField | points () const |
| | Get representative point cloud for all shapes inside.
|
| label | getVolumeType (const indexedOctree< treeDataTriSurface > &, 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 triangle with ray. Sets result.
|
Constructor & Destructor Documentation
Member Function Documentation
| ClassName |
( |
"treeDataTriSurface" |
|
) |
|
| label size |
( |
|
) |
const [inline] |
Get representative point cloud for all shapes inside.
(one point per shape)
Get type (inside,outside,mixed,unknown) of point w.r.t. surface.
Only makes sense for closed surfaces.
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.
Returns actual point and distance (squared)
Calculates nearest (to line) point in shape.
Returns point and distance (squared)
Calculate intersection of triangle with ray. Sets result.
accordingly
The documentation for this class was generated from the following file:
Copyright © 2000-2007 OpenCFD Ltd
|