triangleFuncs Class ReferenceList of all members.
Detailed Description
Definition at line 63 of file triangleFuncs.H.
|
Public Types |
| enum | proxType { NONE,
POINT,
EDGE
} |
| | Enumeration defining nearness classification. More...
|
Static Public Member Functions |
| static bool | intersectAxesBundle (const point &V0, const point &V10, const point &V20, const label i0, const pointField &origin, const scalar maxLength, point &pInter) |
| | Intersect triangle with parallel edges aligned with axis i0.
|
| static bool | intersectBb (const point &p0, const point &p1, const point &p2, const treeBoundBox &cubeBb) |
| | Does triangle intersect bounding box.
|
| static bool | intersect (const point &va0, const point &va10, const point &va20, const point &basePoint, const vector &normal, point &pInter0, point &pInter1) |
| | Does triangle intersect plane. Return bool and set intersection segment.
|
| static bool | intersect (const point &va0, const point &va10, const point &va20, const point &vb0, const point &vb10, const point &vb20, point &pInter0, point &pInter1) |
| | Do triangles intersect. Return bool and set intersection segment.
|
| static bool | classify (const point &baseVertex, const vector &E0, const vector &E1, const vector &n, const point &pInter, const scalar tol, label &nearType, label &nearLabel) |
| | Classify point on triangle plane w.r.t. triangle edges.
|
Member Enumeration Documentation
Enumeration defining nearness classification.
- Enumerator:
-
Definition at line 71 of file triangleFuncs.H.
Member Function Documentation
| static bool intersectAxesBundle |
( |
const point & |
V0, |
|
|
const point & |
V10, |
|
|
const point & |
V20, |
|
|
const label |
i0, |
|
|
const pointField & |
origin, |
|
|
const scalar |
maxLength, |
|
|
point & |
pInter | |
|
) |
| | [static] |
Intersect triangle with parallel edges aligned with axis i0.
Returns true (and intersection in pInter) if any of them intersects triangle. Used in intersectBb.
Does triangle intersect bounding box.
Does triangle intersect plane. Return bool and set intersection segment.
Do triangles intersect. Return bool and set intersection segment.
| static bool classify |
( |
const point & |
baseVertex, |
|
|
const vector & |
E0, |
|
|
const vector & |
E1, |
|
|
const vector & |
n, |
|
|
const point & |
pInter, |
|
|
const scalar |
tol, |
|
|
label & |
nearType, |
|
|
label & |
nearLabel | |
|
) |
| | [static] |
Classify point on triangle plane w.r.t. triangle edges.
- inside/outside (returned)
- near point (0, 1, 2)
- near edge (0, 1, 2). Note: edges are counted from starting vertex so e.g. edge 2 is from f[2] to f[0]
The documentation for this class was generated from the following file:
Copyright © 2000-2007 OpenCFD Ltd
|