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

Determines length of string of edges walked to point. More...

Public Member Functions

 pointEdgeStructuredWalk ()
 
 pointEdgeStructuredWalk (const point &point0, const point &previousPoint, const scalar dist, const vector &data, const label index=-1)
 
scalar dist () const
 
const vectordata () const
 
label index () const
 
bool inZone () const
 
template<class TrackingData >
bool valid (TrackingData &td) const
 
template<class TrackingData >
bool sameGeometry (const pointEdgeStructuredWalk &, 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 pointEdgeStructuredWalk &edgeInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool updatePoint (const polyMesh &mesh, const label pointi, const pointEdgeStructuredWalk &newPointInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool updatePoint (const pointEdgeStructuredWalk &newPointInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool updateEdge (const polyMesh &mesh, const label edgeI, const label pointi, const pointEdgeStructuredWalk &pointInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool equal (const pointEdgeStructuredWalk &, TrackingData &) const
 
bool operator== (const pointEdgeStructuredWalk &) const
 
bool operator!= (const pointEdgeStructuredWalk &) const
 

Friends

Ostreamoperator<< (Ostream &, const pointEdgeStructuredWalk &)
 
Istreamoperator>> (Istream &, pointEdgeStructuredWalk &)
 

Detailed Description

Determines length of string of edges walked to point.

Source files

Definition at line 57 of file pointEdgeStructuredWalk.H.

Constructor & Destructor Documentation

◆ pointEdgeStructuredWalk() [1/2]

Definition at line 52 of file pointEdgeStructuredWalkI.H.

◆ pointEdgeStructuredWalk() [2/2]

pointEdgeStructuredWalk ( const point point0,
const point previousPoint,
const scalar  dist,
const vector data,
const label  index = -1 
)
inline

Definition at line 63 of file pointEdgeStructuredWalkI.H.

Member Function Documentation

◆ dist()

scalar dist ( ) const
inline

Definition at line 111 of file pointEdgeStructuredWalk.H.

◆ data()

const vector& data ( ) const
inline

Definition at line 117 of file pointEdgeStructuredWalk.H.

◆ index()

label index ( ) const
inline

Definition at line 123 of file pointEdgeStructuredWalk.H.

◆ inZone()

bool inZone ( ) const
inline

◆ valid()

bool valid ( TrackingData &  td) const
inline

◆ sameGeometry()

bool sameGeometry ( const pointEdgeStructuredWalk w2,
const scalar  tol,
TrackingData &  td 
) const
inline

Definition at line 97 of file pointEdgeStructuredWalkI.H.

References Foam::diff(), Foam::mag(), and w2.

Here is the call graph for this function:

◆ leaveDomain()

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

Definition at line 125 of file pointEdgeStructuredWalkI.H.

◆ enterDomain()

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

Definition at line 151 of file pointEdgeStructuredWalkI.H.

◆ transform()

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

Definition at line 138 of file pointEdgeStructuredWalkI.H.

References 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 pointEdgeStructuredWalk edgeInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Definition at line 166 of file pointEdgeStructuredWalkI.H.

References update().

Here is the call graph for this function:

◆ updatePoint() [2/3]

bool updatePoint ( const polyMesh mesh,
const label  pointi,
const pointEdgeStructuredWalk newPointInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Definition at line 187 of file pointEdgeStructuredWalkI.H.

References update().

Here is the call graph for this function:

◆ updatePoint() [3/3]

bool updatePoint ( const pointEdgeStructuredWalk newPointInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Definition at line 207 of file pointEdgeStructuredWalkI.H.

References update().

Here is the call graph for this function:

◆ updateEdge()

bool updateEdge ( const polyMesh mesh,
const label  edgeI,
const label  pointi,
const pointEdgeStructuredWalk pointInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Definition at line 220 of file pointEdgeStructuredWalkI.H.

References update().

Here is the call graph for this function:

◆ equal()

bool equal ( const pointEdgeStructuredWalk rhs,
TrackingData &  td 
) const
inline

Definition at line 240 of file pointEdgeStructuredWalkI.H.

References Foam::operator==().

Here is the call graph for this function:

◆ operator==()

bool operator== ( const pointEdgeStructuredWalk rhs) const
inline

Definition at line 252 of file pointEdgeStructuredWalkI.H.

◆ operator!=()

bool operator!= ( const pointEdgeStructuredWalk rhs) const
inline

Definition at line 261 of file pointEdgeStructuredWalkI.H.

Friends And Related Function Documentation

◆ operator<<

Ostream& operator<< ( Ostream ,
const pointEdgeStructuredWalk  
)
friend

◆ operator>>

Istream& operator>> ( Istream ,
pointEdgeStructuredWalk  
)
friend

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