For use with PointEdgeWave. Determines topological distance to starting points. More...
Public Member Functions | |
pointTopoDistanceData () | |
Construct null. More... | |
pointTopoDistanceData (const label data, const label distance) | |
Construct from count. More... | |
label | data () const |
label | distance () const |
template<class TrackingData > | |
bool | valid (TrackingData &td) const |
Check whether origin has been changed at all or. More... | |
template<class TrackingData > | |
bool | sameGeometry (const pointTopoDistanceData &, 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 pointTopoDistanceData &edgeInfo, const scalar tol, TrackingData &td) |
Influence of edge on point. More... | |
template<class TrackingData > | |
bool | updatePoint (const polyMesh &mesh, const label pointI, const pointTopoDistanceData &newPointInfo, const scalar tol, TrackingData &td) |
Influence of different value on same point. More... | |
template<class TrackingData > | |
bool | updatePoint (const pointTopoDistanceData &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 pointTopoDistanceData &pointInfo, const scalar tol, TrackingData &td) |
Influence of point on edge. More... | |
template<class TrackingData > | |
bool | equal (const pointTopoDistanceData &, TrackingData &) const |
Same (like operator==) More... | |
bool | operator== (const pointTopoDistanceData &) const |
bool | operator!= (const pointTopoDistanceData &) const |
Private Attributes | |
label | data_ |
Starting data. More... | |
label | distance_ |
Distance. More... | |
Friends | |
Ostream & | operator<< (Ostream &, const pointTopoDistanceData &) |
Istream & | operator>> (Istream &, pointTopoDistanceData &) |
For use with PointEdgeWave. Determines topological distance to starting points.
Definition at line 54 of file pointTopoDistanceData.H.
|
inline |
Construct null.
Definition at line 34 of file pointTopoDistanceDataI.H.
|
inline |
Construct from count.
Definition at line 43 of file pointTopoDistanceDataI.H.
Definition at line 85 of file pointTopoDistanceData.H.
References pointTopoDistanceData::data_.
Referenced by pointTopoDistanceData::operator==().
|
inline |
Definition at line 89 of file pointTopoDistanceData.H.
References pointTopoDistanceData::distance_.
Referenced by pointTopoDistanceData::operator==().
|
inline |
Check whether origin has been changed at all or.
still contains original (invalid) value.
Definition at line 56 of file pointTopoDistanceDataI.H.
|
inline |
Check for identical geometrical data. Used for cyclics checking.
Definition at line 65 of file pointTopoDistanceDataI.H.
|
inline |
Convert origin to relative vector to leaving point.
(= point coordinate)
Definition at line 78 of file pointTopoDistanceDataI.H.
|
inline |
Convert relative origin to absolute by adding entering point.
Definition at line 100 of file pointTopoDistanceDataI.H.
|
inline |
Apply rotation matrix to origin.
Definition at line 90 of file pointTopoDistanceDataI.H.
|
inline |
Influence of edge on point.
Definition at line 112 of file pointTopoDistanceDataI.H.
References pointTopoDistanceData::data_, and pointTopoDistanceData::distance_.
|
inline |
Influence of different value on same point.
Merge new and old info.
Definition at line 137 of file pointTopoDistanceDataI.H.
|
inline |
Influence of different value on same point.
No information about current position whatsoever.
Definition at line 160 of file pointTopoDistanceDataI.H.
|
inline |
Influence of point on edge.
Definition at line 181 of file pointTopoDistanceDataI.H.
|
inline |
Same (like operator==)
Definition at line 204 of file pointTopoDistanceDataI.H.
References Foam::operator==().
|
inline |
Definition at line 216 of file pointTopoDistanceDataI.H.
References pointTopoDistanceData::data(), Foam::distance(), and pointTopoDistanceData::distance().
|
inline |
Definition at line 225 of file pointTopoDistanceDataI.H.
|
friend |
|
friend |
|
private |
Starting data.
Definition at line 59 of file pointTopoDistanceData.H.
Referenced by pointTopoDistanceData::data(), and pointTopoDistanceData::updatePoint().
|
private |
Distance.
Definition at line 62 of file pointTopoDistanceData.H.
Referenced by pointTopoDistanceData::distance(), and pointTopoDistanceData::updatePoint().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.