Variant of pointEdgePoint with some transported additional data. Templated on the transported data type. More...
#include <PointData.H>


Public Member Functions | |
| PointData ()=default | |
| Default construct. | |
| PointData (const point &origin, const scalar distSqr, const DataType &data) | |
| Construct from origin, distance and data. | |
| const DataType & | data () const noexcept |
| DataType & | data () noexcept |
| bool | operator== (const PointData< DataType > &) const |
| Test for equality. | |
| bool | operator!= (const PointData< DataType > &) const |
| Test for inequality. | |
| template<class TrackingData> | |
| void | transform (const tensor &rotTensor, TrackingData &td) |
| Apply rotation matrix to the data. | |
| template<class TrackingData> | |
| bool | updatePoint (const polyMesh &mesh, const label pointI, const label edgeI, const PointData< DataType > &edgeInfo, const scalar tol, TrackingData &td) |
| Influence of edge on point. | |
| template<class TrackingData> | |
| bool | updatePoint (const polyMesh &mesh, const label pointI, const PointData< DataType > &newPointInfo, const scalar tol, TrackingData &td) |
| Influence of different value on same point. | |
| template<class TrackingData> | |
| bool | updatePoint (const PointData< DataType > &newPointInfo, const scalar tol, TrackingData &td) |
| Influence of different value on same point. | |
| template<class TrackingData> | |
| bool | updateEdge (const polyMesh &mesh, const label edgeI, const label pointI, const PointData< DataType > &pointInfo, const scalar tol, TrackingData &td) |
| Influence of point on edge. | |
| Public Member Functions inherited from pointEdgePoint | |
| pointEdgePoint () | |
| Default construct. Max point. | |
| pointEdgePoint (const point &origin, const scalar distSqr) | |
| Construct from origin, distance. | |
| const point & | origin () const noexcept |
| point & | origin () noexcept |
| scalar | distSqr () const noexcept |
| scalar & | distSqr () noexcept |
| bool | operator== (const pointEdgePoint &) const |
| Test for equality. | |
| bool | operator!= (const pointEdgePoint &) const |
| Test for inequality. | |
| template<class TrackingData> | |
| bool | valid (TrackingData &td) const |
| Changed or contains original (invalid) value. | |
| template<class TrackingData> | |
| bool | sameGeometry (const pointEdgePoint &, const scalar tol, TrackingData &td) const |
| Check for identical geometrical data (eg, cyclics checking). | |
| template<class TrackingData> | |
| void | leaveDomain (const polyPatch &patch, const label patchPointi, const point &pos, TrackingData &td) |
| Convert origin to relative vector to leaving point. | |
| 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. | |
| template<class TrackingData> | |
| void | transform (const tensor &rotTensor, TrackingData &td) |
| Apply rotation matrix to origin. | |
| template<class TrackingData> | |
| bool | updatePoint (const polyMesh &mesh, const label pointi, const label edgeI, const pointEdgePoint &edgeInfo, const scalar tol, TrackingData &td) |
| Influence of edge on point. | |
| template<class TrackingData> | |
| bool | updatePoint (const polyMesh &mesh, const label pointi, const pointEdgePoint &newPointInfo, const scalar tol, TrackingData &td) |
| Influence of different value on same point. | |
| template<class TrackingData> | |
| bool | updatePoint (const pointEdgePoint &newPointInfo, const scalar tol, TrackingData &td) |
| Influence of different value on same point. | |
| template<class TrackingData> | |
| bool | updateEdge (const polyMesh &mesh, const label edgeI, const label pointi, const pointEdgePoint &pointInfo, const scalar tol, TrackingData &td) |
| Influence of point on edge. | |
| template<class TrackingData> | |
| bool | equal (const pointEdgePoint &, TrackingData &td) const |
| Test for equality, with TrackingData. | |
Friends | |
| Ostream & | operator<< (Ostream &, const PointData< DataType > &) |
| Istream & | operator>> (Istream &, PointData< DataType > &) |
Variant of pointEdgePoint with some transported additional data. Templated on the transported data type.
Definition at line 58 of file PointData.H.
|
default |
Default construct.
References data(), pointEdgePoint::distSqr(), and pointEdgePoint::origin().
Referenced by operator!=(), operator<<, operator==(), operator>>, updateEdge(), updatePoint(), updatePoint(), and updatePoint().


|
inline |
Construct from origin, distance and data.
Definition at line 28 of file PointDataI.H.
References data(), pointEdgePoint::distSqr(), pointEdgePoint::origin(), and pointEdgePoint::pointEdgePoint().

|
inlinenoexcept |
Definition at line 94 of file PointData.H.
References Foam::noexcept.
Referenced by operator==(), PointData(), and PointData().

|
inlinenoexcept |
Definition at line 96 of file PointData.H.
References Foam::noexcept.
|
inline |
Test for equality.
Definition at line 179 of file PointDataI.H.
References data(), pointEdgePoint::operator==(), PointData(), and Foam::rhs().

|
inline |
Test for inequality.
Definition at line 189 of file PointDataI.H.
References PointData(), and Foam::rhs().

|
inline |
Apply rotation matrix to the data.
Definition at line 44 of file PointDataI.H.
References td(), pointEdgePoint::transform(), and Foam::transform().

|
inline |
Influence of edge on point.
Definition at line 57 of file PointDataI.H.
References mesh, PointData(), td(), and pointEdgePoint::updatePoint().

|
inline |
Influence of different value on same point.
Merge new and old info.
Definition at line 91 of file PointDataI.H.
References mesh, PointData(), td(), and pointEdgePoint::updatePoint().

|
inline |
Influence of different value on same point.
No information about current position whatsoever.
Definition at line 123 of file PointDataI.H.
References PointData(), td(), and pointEdgePoint::updatePoint().

|
inline |
Influence of point on edge.
Definition at line 143 of file PointDataI.H.
References mesh, PointData(), td(), and pointEdgePoint::updateEdge().

References PointData().
References mesh, PointData(), and td().