Public Types | Public Member Functions | Friends | List of all members
pointTopoDistanceData Class Reference

For use with PointEdgeWave. Determines topological distance to starting points. Templated on passive transported data. More...

Public Types

typedef Type dataType
 

Public Member Functions

 pointTopoDistanceData ()
 
 pointTopoDistanceData (const label distance, const Type &data)
 
label distance () const
 
const Type & data () const
 
template<class TrackingData >
bool valid (TrackingData &td) const
 
template<class TrackingData >
bool sameGeometry (const pointTopoDistanceData< Type > &, const scalar tol, TrackingData &td) const
 
template<class TrackingData >
void leaveDomain (const polyPatch &patch, const label patchPointi, const point &pos, TrackingData &td)
 
template<class TrackingData >
void enterDomain (const polyPatch &patch, const label patchPointi, const point &pos, TrackingData &td)
 
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 pointTopoDistanceData< Type > &edgeInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool updatePoint (const polyMesh &mesh, const label pointi, const pointTopoDistanceData< Type > &newPointInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool updatePoint (const pointTopoDistanceData< Type > &newPointInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool updateEdge (const polyMesh &mesh, const label edgeI, const label pointi, const pointTopoDistanceData< Type > &pointInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool equal (const pointTopoDistanceData< Type > &, TrackingData &) const
 
bool operator== (const pointTopoDistanceData< Type > &) const
 
bool operator!= (const pointTopoDistanceData< Type > &) const
 

Friends

Ostreamoperator (Ostream &, const pointTopoDistanceData< Type > &)
 
Istreamoperator>> (Istream &, pointTopoDistanceData< Type > &)
 

Detailed Description

For use with PointEdgeWave. Determines topological distance to starting points. Templated on passive transported data.

Source files

Definition at line 49 of file pointTopoDistanceData.H.

Member Typedef Documentation

◆ dataType

typedef Type dataType

Definition at line 74 of file pointTopoDistanceData.H.

Constructor & Destructor Documentation

◆ pointTopoDistanceData() [1/2]

Definition at line 27 of file pointTopoDistanceDataI.H.

◆ pointTopoDistanceData() [2/2]

pointTopoDistanceData ( const label  distance,
const Type &  data 
)
inline

Definition at line 36 of file pointTopoDistanceDataI.H.

Member Function Documentation

◆ distance()

label distance ( ) const
inline

Definition at line 95 of file pointTopoDistanceData.H.

Referenced by pointTopoDistanceData::operator==().

Here is the caller graph for this function:

◆ data()

const Type& data ( ) const
inline

Definition at line 100 of file pointTopoDistanceData.H.

Referenced by pointTopoDistanceData::operator==().

Here is the caller graph for this function:

◆ valid()

bool valid ( TrackingData &  td) const
inline

Definition at line 50 of file pointTopoDistanceDataI.H.

◆ sameGeometry()

bool sameGeometry ( const pointTopoDistanceData< Type > &  ,
const scalar  tol,
TrackingData &  td 
) const
inline

Definition at line 60 of file pointTopoDistanceDataI.H.

◆ leaveDomain()

void leaveDomain ( const polyPatch patch,
const label  patchPointi,
const point pos,
TrackingData &  td 
)
inline

Definition at line 74 of file pointTopoDistanceDataI.H.

◆ enterDomain()

void enterDomain ( const polyPatch patch,
const label  patchPointi,
const point pos,
TrackingData &  td 
)
inline

Definition at line 98 of file pointTopoDistanceDataI.H.

◆ transform()

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

Definition at line 87 of file pointTopoDistanceDataI.H.

◆ updatePoint() [1/3]

bool updatePoint ( const polyMesh mesh,
const label  pointi,
const label  edgeI,
const pointTopoDistanceData< Type > &  edgeInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Definition at line 111 of file pointTopoDistanceDataI.H.

◆ updatePoint() [2/3]

bool updatePoint ( const polyMesh mesh,
const label  pointi,
const pointTopoDistanceData< Type > &  newPointInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Definition at line 135 of file pointTopoDistanceDataI.H.

◆ updatePoint() [3/3]

bool updatePoint ( const pointTopoDistanceData< Type > &  newPointInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Definition at line 158 of file pointTopoDistanceDataI.H.

◆ updateEdge()

bool updateEdge ( const polyMesh mesh,
const label  edgeI,
const label  pointi,
const pointTopoDistanceData< Type > &  pointInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Definition at line 179 of file pointTopoDistanceDataI.H.

◆ equal()

bool equal ( const pointTopoDistanceData< Type > &  rhs,
TrackingData &  td 
) const
inline

Definition at line 202 of file pointTopoDistanceDataI.H.

References Foam::operator==().

Here is the call graph for this function:

◆ operator==()

bool operator== ( const pointTopoDistanceData< Type > &  rhs) const
inline

Definition at line 215 of file pointTopoDistanceDataI.H.

References pointTopoDistanceData::data(), Foam::distance(), and pointTopoDistanceData::distance().

Here is the call graph for this function:

◆ operator!=()

bool operator!= ( const pointTopoDistanceData< Type > &  rhs) const
inline

Definition at line 225 of file pointTopoDistanceDataI.H.

Friends And Related Function Documentation

◆ operator

Ostream& operator ( Ostream ,
const pointTopoDistanceData< Type > &   
)
friend

◆ operator>>

Istream& operator>> ( Istream ,
pointTopoDistanceData< Type > &   
)
friend

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