octreeDataEdges Class ReferenceCollaboration diagram for octreeDataEdges:
[legend]List of all members.
Detailed Description
Definition at line 64 of file octreeDataEdges.H.
|
Public Member Functions |
| | ClassName ("octreeDataEdges") |
| | octreeDataEdges (const edgeList &edges, const pointField &points, const labelList &edgeLabels) |
| | Construct from selected edges. !Holds references to edges and points.
|
| | octreeDataEdges (const octreeDataEdges &) |
| | Construct as copy.
|
| | ~octreeDataEdges () |
| const edgeList & | edges () const |
| const pointField & | points () const |
| const labelList & | edgeLabels () const |
| const treeBoundBoxList & | allBb () const |
| label | size () const |
| label | getSampleType (const octree< octreeDataEdges > &, const point &) const |
| | Get type of sample.
|
| bool | overlaps (const label index, const treeBoundBox &sampleBb) const |
| | Does (bb of) shape at index overlap bb.
|
| bool | contains (const label index, const point &sample) const |
| | Does shape at index contain sample.
|
| bool | intersects (const label index, const point &start, const point &end, point &intersectionPoint) const |
| | Segment (from start to end) intersection with shape.
|
| bool | findTightest (const label index, const point &sample, treeBoundBox &tightest) const |
| | Sets newTightest to bounding box (and returns true) if.
|
| scalar | calcSign (const label index, const point &sample, vector &n) const |
| | Given index get unit normal and calculate (numerical) sign.
|
| scalar | calcNearest (const label index, const point &sample, point &nearest) const |
| | Calculates nearest (to sample) point in shape.
|
| scalar | calcNearest (const label index, const linePointRef &ln, point &linePt, point &shapePt) const |
| | Calculates nearest (to line segment) point in shape.
|
| void | write (Ostream &os, const label index) const |
| | Write shape at index.
|
Constructor & Destructor Documentation
Construct from selected edges. !Holds references to edges and points.
Member Function Documentation
| ClassName |
( |
"octreeDataEdges" |
|
) |
|
| const edgeList& edges |
( |
|
) |
const [inline] |
| const labelList& edgeLabels |
( |
|
) |
const [inline] |
| label size |
( |
|
) |
const [inline] |
Does (bb of) shape at index overlap bb.
| bool contains |
( |
const label |
index, |
|
|
const point & |
sample | |
|
) |
| | const |
Does shape at index contain sample.
| bool intersects |
( |
const label |
index, |
|
|
const point & |
start, |
|
|
const point & |
end, |
|
|
point & |
intersectionPoint | |
|
) |
| | const |
Segment (from start to end) intersection with shape.
at index. If intersects returns true and sets intersectionPoint
Sets newTightest to bounding box (and returns true) if.
nearer to sample than tightest bounding box. Otherwise returns false.
Given index get unit normal and calculate (numerical) sign.
of sample. Used to determine accuracy of calcNearest or inside/outside.
| scalar calcNearest |
( |
const label |
index, |
|
|
const point & |
sample, |
|
|
point & |
nearest | |
|
) |
| | const |
Calculates nearest (to sample) point in shape.
Returns point and mag(nearest - sample).
Calculates nearest (to line segment) point in shape.
Returns distance and both point.
The documentation for this class was generated from the following file:
Copyright © 2000-2007 OpenCFD Ltd
|