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

For use with PointEdgeWave. Determines topological distance to starting points. More...

Public Member Functions

 pointTopoDistanceData ()
 Construct null. More...
 
 pointTopoDistanceData (const label data, const label distance)
 Construct from count. More...
 
label data () const
 
label distance () const
 
template<class TrackingData >
bool valid (TrackingData &td) const
 Check whether origin has been changed at all or. More...
 
template<class TrackingData >
bool sameGeometry (const pointTopoDistanceData &, const scalar tol, TrackingData &td) const
 Check for identical geometrical data. Used for cyclics checking. More...
 
template<class TrackingData >
void leaveDomain (const polyPatch &patch, const label patchPointI, const point &pos, TrackingData &td)
 Convert origin to relative vector to leaving point. More...
 
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. More...
 
template<class TrackingData >
void transform (const tensor &rotTensor, TrackingData &td)
 Apply rotation matrix to origin. More...
 
template<class TrackingData >
bool updatePoint (const polyMesh &mesh, const label pointI, const label edgeI, const pointTopoDistanceData &edgeInfo, const scalar tol, TrackingData &td)
 Influence of edge on point. More...
 
template<class TrackingData >
bool updatePoint (const polyMesh &mesh, const label pointI, const pointTopoDistanceData &newPointInfo, const scalar tol, TrackingData &td)
 Influence of different value on same point. More...
 
template<class TrackingData >
bool updatePoint (const pointTopoDistanceData &newPointInfo, const scalar tol, TrackingData &td)
 Influence of different value on same point. More...
 
template<class TrackingData >
bool updateEdge (const polyMesh &mesh, const label edgeI, const label pointI, const pointTopoDistanceData &pointInfo, const scalar tol, TrackingData &td)
 Influence of point on edge. More...
 
template<class TrackingData >
bool equal (const pointTopoDistanceData &, TrackingData &) const
 Same (like operator==) More...
 
bool operator== (const pointTopoDistanceData &) const
 
bool operator!= (const pointTopoDistanceData &) const
 

Friends

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

Detailed Description

For use with PointEdgeWave. Determines topological distance to starting points.

Source files

Definition at line 54 of file pointTopoDistanceData.H.

Constructor & Destructor Documentation

Construct null.

Definition at line 34 of file pointTopoDistanceDataI.H.

pointTopoDistanceData ( const label  data,
const label  distance 
)
inline

Construct from count.

Definition at line 43 of file pointTopoDistanceDataI.H.

Member Function Documentation

label data ( ) const
inline

Definition at line 85 of file pointTopoDistanceData.H.

Referenced by pointTopoDistanceData::operator==().

Here is the caller graph for this function:

label distance ( ) const
inline
bool valid ( TrackingData &  td) const
inline

Check whether origin has been changed at all or.

still contains original (invalid) value.

Definition at line 56 of file pointTopoDistanceDataI.H.

References pointTopoDistanceData::sameGeometry().

Referenced by pointTopoDistanceData::distance().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Check for identical geometrical data. Used for cyclics checking.

Definition at line 65 of file pointTopoDistanceDataI.H.

References pointTopoDistanceData::leaveDomain().

Referenced by pointTopoDistanceData::distance(), and pointTopoDistanceData::valid().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Convert origin to relative vector to leaving point.

(= point coordinate)

Definition at line 78 of file pointTopoDistanceDataI.H.

References pointTopoDistanceData::transform().

Referenced by pointTopoDistanceData::distance(), and pointTopoDistanceData::sameGeometry().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Convert relative origin to absolute by adding entering point.

Definition at line 100 of file pointTopoDistanceDataI.H.

References pointTopoDistanceData::updatePoint().

Referenced by pointTopoDistanceData::distance(), and pointTopoDistanceData::transform().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Apply rotation matrix to origin.

Definition at line 90 of file pointTopoDistanceDataI.H.

References pointTopoDistanceData::enterDomain().

Referenced by pointTopoDistanceData::distance(), and pointTopoDistanceData::leaveDomain().

Here is the call graph for this function:

Here is the caller graph for this function:

bool updatePoint ( const polyMesh mesh,
const label  pointI,
const label  edgeI,
const pointTopoDistanceData edgeInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of edge on point.

Definition at line 112 of file pointTopoDistanceDataI.H.

Referenced by pointTopoDistanceData::distance(), pointTopoDistanceData::enterDomain(), and pointTopoDistanceData::updatePoint().

Here is the caller graph for this function:

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

Influence of different value on same point.

Merge new and old info.

Definition at line 137 of file pointTopoDistanceDataI.H.

References pointTopoDistanceData::updatePoint().

Here is the call graph for this function:

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

Influence of different value on same point.

No information about current position whatsoever.

Definition at line 160 of file pointTopoDistanceDataI.H.

References pointTopoDistanceData::updateEdge().

Here is the call graph for this function:

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

Influence of point on edge.

Definition at line 181 of file pointTopoDistanceDataI.H.

References pointTopoDistanceData::equal().

Referenced by pointTopoDistanceData::distance(), and pointTopoDistanceData::updatePoint().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Same (like operator==)

Definition at line 204 of file pointTopoDistanceDataI.H.

References pointTopoDistanceData::operator==().

Referenced by pointTopoDistanceData::distance(), and pointTopoDistanceData::updateEdge().

Here is the call graph for this function:

Here is the caller graph for this function:

bool operator== ( const pointTopoDistanceData rhs) const
inline

Definition at line 216 of file pointTopoDistanceDataI.H.

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

Referenced by pointTopoDistanceData::distance(), and pointTopoDistanceData::equal().

Here is the call graph for this function:

Here is the caller graph for this function:

bool operator!= ( const pointTopoDistanceData rhs) const
inline

Definition at line 225 of file pointTopoDistanceDataI.H.

Referenced by pointTopoDistanceData::distance().

Here is the caller graph for this function:

Friends And Related Function Documentation

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

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