Determines length of string of edges walked to point. More...
Public Member Functions | |
pointEdgeStructuredWalk () | |
Construct null. More... | |
pointEdgeStructuredWalk (const point &point0, const point &previousPoint, const scalar dist, const vector &data, const label index=-1) | |
Construct from components. More... | |
bool | inZone () const |
True if starting point is valid (ie, not point::max) More... | |
scalar | dist () const |
The distance information. More... | |
const vector & | data () const |
Tracking data. More... | |
label | index () const |
Index (if any) associated with data. More... | |
template<class TrackingData > | |
bool | valid (TrackingData &td) const |
Check whether origin has been changed at all or. More... | |
template<class TrackingData > | |
bool | sameGeometry (const pointEdgeStructuredWalk &, const scalar tol, TrackingData &td) const |
Check for identical geometrical data. Used for cyclics checking. More... | |
template<class TrackingData > | |
void | leaveDomain (const polyPatch &patch, const label patchPointi, const point &pos, TrackingData &td) |
Convert origin to relative vector to leaving point. More... | |
template<class TrackingData > | |
void | enterDomain (const polyPatch &patch, const label patchPointi, const point &pos, TrackingData &td) |
Convert relative origin to absolute by adding entering point. More... | |
template<class TrackingData > | |
void | transform (const tensor &rotTensor, TrackingData &td) |
Apply rotation matrix to origin. More... | |
template<class TrackingData > | |
bool | updatePoint (const polyMesh &mesh, const label pointi, const label edgeI, const pointEdgeStructuredWalk &edgeInfo, const scalar tol, TrackingData &td) |
Influence of edge on point. More... | |
template<class TrackingData > | |
bool | updatePoint (const polyMesh &mesh, const label pointi, const pointEdgeStructuredWalk &newPointInfo, const scalar tol, TrackingData &td) |
Influence of different value on same point. More... | |
template<class TrackingData > | |
bool | updatePoint (const pointEdgeStructuredWalk &newPointInfo, const scalar tol, TrackingData &td) |
Influence of different value on same point. More... | |
template<class TrackingData > | |
bool | updateEdge (const polyMesh &mesh, const label edgeI, const label pointi, const pointEdgeStructuredWalk &pointInfo, const scalar tol, TrackingData &td) |
Influence of point on edge. More... | |
template<class TrackingData > | |
bool | equal (const pointEdgeStructuredWalk &, TrackingData &) const |
Same (like operator==) More... | |
bool | operator== (const pointEdgeStructuredWalk &) const |
bool | operator!= (const pointEdgeStructuredWalk &) const |
Friends | |
Ostream & | operator<< (Ostream &, const pointEdgeStructuredWalk &) |
Istream & | operator>> (Istream &, pointEdgeStructuredWalk &) |
Determines length of string of edges walked to point.
Definition at line 62 of file pointEdgeStructuredWalk.H.
|
inline |
Construct null.
Definition at line 59 of file pointEdgeStructuredWalkI.H.
|
inline |
Construct from components.
Definition at line 70 of file pointEdgeStructuredWalkI.H.
|
inline |
True if starting point is valid (ie, not point::max)
Definition at line 88 of file pointEdgeStructuredWalkI.H.
References VectorSpace< Vector< scalar >, scalar, 3 >::max.
|
inline |
The distance information.
Definition at line 94 of file pointEdgeStructuredWalkI.H.
|
inline |
Tracking data.
Definition at line 100 of file pointEdgeStructuredWalkI.H.
|
inline |
Index (if any) associated with data.
Definition at line 106 of file pointEdgeStructuredWalkI.H.
|
inline |
Check whether origin has been changed at all or.
still contains original (invalid) value.
Definition at line 113 of file pointEdgeStructuredWalkI.H.
References VectorSpace< Vector< scalar >, scalar, 3 >::max.
|
inline |
Check for identical geometrical data. Used for cyclics checking.
Definition at line 122 of file pointEdgeStructuredWalkI.H.
References Foam::diff(), Foam::mag(), and w2.
|
inline |
Convert origin to relative vector to leaving point.
(= point coordinate)
Definition at line 150 of file pointEdgeStructuredWalkI.H.
|
inline |
Convert relative origin to absolute by adding entering point.
Definition at line 176 of file pointEdgeStructuredWalkI.H.
|
inline |
Apply rotation matrix to origin.
Definition at line 163 of file pointEdgeStructuredWalkI.H.
References Foam::transform().
|
inline |
Influence of edge on point.
Definition at line 191 of file pointEdgeStructuredWalkI.H.
References update().
|
inline |
Influence of different value on same point.
Merge new and old info.
Definition at line 212 of file pointEdgeStructuredWalkI.H.
References update().
|
inline |
Influence of different value on same point.
No information about current position whatsoever.
Definition at line 232 of file pointEdgeStructuredWalkI.H.
References update().
|
inline |
Influence of point on edge.
Definition at line 245 of file pointEdgeStructuredWalkI.H.
References update().
|
inline |
Same (like operator==)
Definition at line 265 of file pointEdgeStructuredWalkI.H.
References Foam::operator==().
|
inline |
Definition at line 277 of file pointEdgeStructuredWalkI.H.
|
inline |
Definition at line 286 of file pointEdgeStructuredWalkI.H.
|
friend |
|
friend |