Public Member Functions | Friends | List of all members
PointData Class Reference

Variant of pointEdgePoint with some transported additional data. Templated on the transported data type. More...

Public Member Functions

 PointData ()
 
 PointData (const point &origin, const scalar distSqr, const DataType &data)
 
const DataType & data () const
 
DataType & data ()
 
template<class TrackingData >
void transform (const tensor &rotTensor, TrackingData &td)
 
template<class TrackingData >
bool updatePoint (const polyMesh &mesh, const label pointI, const label edgeI, const PointData< DataType > &edgeInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool updatePoint (const polyMesh &mesh, const label pointI, const PointData< DataType > &newPointInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool updatePoint (const PointData< DataType > &newPointInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool updateEdge (const polyMesh &mesh, const label edgeI, const label pointI, const PointData< DataType > &pointInfo, const scalar tol, TrackingData &td)
 
bool operator== (const PointData< DataType > &) const
 
bool operator!= (const PointData< DataType > &) const
 

Friends

Ostreamoperator (Ostream &, const PointData< DataType > &)
 
Istreamoperator>> (Istream &, PointData< DataType > &)
 

Detailed Description

Variant of pointEdgePoint with some transported additional data. Templated on the transported data type.

Source files

Definition at line 56 of file medialAxisMeshMover.H.

Constructor & Destructor Documentation

◆ PointData() [1/2]

PointData ( )
inline

Definition at line 28 of file PointDataI.H.

◆ PointData() [2/2]

PointData ( const point origin,
const scalar  distSqr,
const DataType &  data 
)
inline

Definition at line 36 of file PointDataI.H.

Member Function Documentation

◆ data() [1/2]

const DataType& data ( ) const
inline

Definition at line 90 of file PointData.H.

◆ data() [2/2]

DataType& data ( )
inline

Definition at line 94 of file PointData.H.

◆ transform()

void transform ( const tensor rotTensor,
TrackingData &  td 
)
inline

Definition at line 52 of file PointDataI.H.

References pointEdgePoint::transform(), and Foam::transform().

Here is the call graph for this function:

◆ updatePoint() [1/3]

bool updatePoint ( const polyMesh mesh,
const label  pointI,
const label  edgeI,
const PointData< DataType > &  edgeInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Definition at line 65 of file PointDataI.H.

References mesh, and pointEdgePoint::updatePoint().

Here is the call graph for this function:

◆ updatePoint() [2/3]

bool updatePoint ( const polyMesh mesh,
const label  pointI,
const PointData< DataType > &  newPointInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Definition at line 99 of file PointDataI.H.

References mesh, and pointEdgePoint::updatePoint().

Here is the call graph for this function:

◆ updatePoint() [3/3]

bool updatePoint ( const PointData< DataType > &  newPointInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Definition at line 131 of file PointDataI.H.

References pointEdgePoint::updatePoint().

Here is the call graph for this function:

◆ updateEdge()

bool updateEdge ( const polyMesh mesh,
const label  edgeI,
const label  pointI,
const PointData< DataType > &  pointInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Definition at line 151 of file PointDataI.H.

References mesh, and pointEdgePoint::updateEdge().

Here is the call graph for this function:

◆ operator==()

bool operator== ( const PointData< DataType > &  rhs) const
inline

Definition at line 187 of file PointDataI.H.

References pointEdgePoint::operator==().

Here is the call graph for this function:

◆ operator!=()

bool operator!= ( const PointData< DataType > &  rhs) const
inline

Definition at line 197 of file PointDataI.H.

Friends And Related Function Documentation

◆ operator

Ostream& operator ( Ostream ,
const PointData< DataType > &   
)
friend

◆ operator>>

Istream& operator>> ( Istream ,
PointData< DataType > &   
)
friend

The documentation for this class was generated from the following files: