55 template<
class TrackingData>
58 return distance_ != -1;
63 template<
class TrackingData>
76 template<
class TrackingData>
80 const label patchPointi,
88 template<
class TrackingData>
98 template<
class TrackingData>
102 const label patchPointi,
110 template<
class TrackingData>
123 data_ = edgeInfo.data_;
124 distance_ = edgeInfo.distance_ + 1;
135 template<
class TrackingData>
147 operator=(newPointInfo);
158 template<
class TrackingData>
168 operator=(newPointInfo);
179 template<
class TrackingData>
192 operator=(pointInfo);
202 template<
class TrackingData>
215 inline bool Foam::pointTopoDistanceData::operator==
224 inline bool Foam::pointTopoDistanceData::operator!=
229 return !(*
this == rhs);
bool equal(const pointTopoDistanceData &, TrackingData &) const
Same (like operator==)
void transform(const tensor &rotTensor, TrackingData &td)
Apply rotation matrix to origin.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void leaveDomain(const polyPatch &patch, const label patchPointi, const point &pos, TrackingData &td)
Convert origin to relative vector to leaving point.
bool valid(TrackingData &td) const
Check whether origin has been changed at all or.
For use with PointEdgeWave. Determines topological distance to starting points.
bool updateEdge(const polyMesh &mesh, const label edgeI, const label pointi, const pointTopoDistanceData &pointInfo, const scalar tol, TrackingData &td)
Influence of point on edge.
bool sameGeometry(const pointTopoDistanceData &, const scalar tol, TrackingData &td) const
Check for identical geometrical data. Used for cyclics checking.
bool updatePoint(const polyMesh &mesh, const label pointi, const label edgeI, const pointTopoDistanceData &edgeInfo, const scalar tol, TrackingData &td)
Influence of edge on point.
void enterDomain(const polyPatch &patch, const label patchPointi, const point &pos, TrackingData &td)
Convert relative origin to absolute by adding entering point.
pointTopoDistanceData()
Construct null.
Mesh consisting of general polyhedral cells.
A patch is a list of labels that address the faces in the global face list.
bool operator==(const pointTopoDistanceData &) const