40 #ifndef Foam_PointData_H 41 #define Foam_PointData_H 51 template<
class DataType>
class PointData;
53 template<
class DataType>
54 Ostream& operator<<(Ostream&, const PointData<DataType>&);
55 template<
class DataType>
56 Istream&
operator>>(Istream&, PointData<DataType>&);
62 template<
class DataType>
109 friend Ostream& operator<< <DataType>
114 friend Istream&
operator>> <DataType>
126 template<
class TrackingData>
134 template<
class TrackingData>
147 template<
class TrackingData>
159 template<
class TrackingData>
168 template<
class TrackingData>
184 template<
class DataType>
188 template<
class DataType>
189 struct is_contiguous_scalar<PointData<DataType>>
191 is_contiguous_scalar<DataType>
Variant of pointEdgePoint with some transported additional data. Templated on the transported data ty...
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.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
bool operator!=(const PointData< DataType > &) const
Test for inequality.
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.
const DataType & data() const noexcept
const point & origin() const noexcept
Istream & operator>>(Istream &, directionInfo &)
bool operator==(const PointData< DataType > &) const
Test for equality.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
vector point
Point is a vector.
A template class to specify that a data type can be considered as being contiguous in memory...
Mesh consisting of general polyhedral cells.
Tensor of scalars, i.e. Tensor<scalar>.
scalar distSqr() const noexcept
void transform(const tensor &rotTensor, TrackingData &td)
Apply rotation matrix to the data.
PointData()=default
Default construct.