OpenFOAM logo
Open Source CFD Toolkit

pointEdgePoint Class Reference

Collaboration diagram for pointEdgePoint:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 pointEdgePoint ()
 Construct null.
 pointEdgePoint (const point &origin, const scalar distSqr)
 Construct from origin, distance.
 pointEdgePoint (const pointEdgePoint &)
 Construct as copy.
const point & origin () const
scalar distSqr () const
bool valid () const
 Check whether origin has been changed at all or.
bool sameGeometry (const pointEdgePoint &, const scalar tol) const
 Check for identical geometrical data. Used for cyclics checking.
void leaveDomain (const polyPatch &patch, const label patchPointI, const point &pos)
 Convert origin to relative vector to leaving point.
void enterDomain (const polyPatch &patch, const label patchPointI, const point &pos)
 Convert relative origin to absolute by adding entering point.
void transform (const tensor &rotTensor)
 Apply rotation matrix to origin.
bool updatePoint (const polyMesh &mesh, const label pointI, const label edgeI, const pointEdgePoint &edgeInfo, const scalar tol)
 Influence of edge on point.
bool updatePoint (const polyMesh &mesh, const label pointI, const pointEdgePoint &newPointInfo, const scalar tol)
 Influence of different value on same point.
bool updatePoint (const pointEdgePoint &newPointInfo, const scalar tol)
 Influence of different value on same point.
bool updateEdge (const polyMesh &mesh, const label edgeI, const label pointI, const pointEdgePoint &pointInfo, const scalar tol)
 Influence of point on edge.
bool operator== (const pointEdgePoint &) const
bool operator!= (const pointEdgePoint &) const

Static Public Attributes

point greatPoint
 initial point far away.

Friends

Ostream & operator<< (Ostream &, const pointEdgePoint &)
Istream & operator>> (Istream &, pointEdgePoint &)

Constructor & Destructor Documentation

pointEdgePoint (   )  [inline]
 

Construct null.

Definition at line 122 of file pointEdgePointI.H.

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

Referenced by pointEdgePoint::pointEdgePoint().

Here is the call graph for this function:

pointEdgePoint (  const point &  origin,
const scalar  distSqr
)  [inline]
 

Construct from origin, distance.

Definition at line 131 of file pointEdgePointI.H.

pointEdgePoint (  const pointEdgePoint &   )  [inline]
 

Construct as copy.

Definition at line 142 of file pointEdgePointI.H.

References Foam::point.


Member Function Documentation

Foam::scalar distSqr (   )  const [inline]
 

Definition at line 157 of file pointEdgePointI.H.

void enterDomain (  const polyPatch &  patch,
const label  patchPointI,
const point &  pos
)  [inline]
 

Convert relative origin to absolute by adding entering point.

Definition at line 216 of file pointEdgePointI.H.

Referenced by pointEdgePoint::transform().

void leaveDomain (  const polyPatch &  patch,
const label  patchPointI,
const point &  pos
)  [inline]
 

Convert origin to relative vector to leaving point.

(= point coordinate)

Definition at line 197 of file pointEdgePointI.H.

bool operator!= (  const pointEdgePoint &   )  const [inline]
 

Definition at line 312 of file pointEdgePointI.H.

bool operator== (  const pointEdgePoint &   )  const [inline]
 

Definition at line 305 of file pointEdgePointI.H.

const Foam::point & origin (   )  const [inline]
 

Definition at line 151 of file pointEdgePointI.H.

bool sameGeometry (  const pointEdgePoint &  ,
const scalar  tol
)  const [inline]
 

Check for identical geometrical data. Used for cyclics checking.

Definition at line 171 of file pointEdgePointI.H.

Referenced by pointEdgePoint::valid().

void transform (  const tensor &  rotTensor  )  [inline]
 

Apply rotation matrix to origin.

Definition at line 207 of file pointEdgePointI.H.

References pointEdgePoint::enterDomain(), Foam::label, and Foam::point.

Here is the call graph for this function:

bool updateEdge (  const polyMesh &  mesh,
const label  edgeI,
const label  pointI,
const pointEdgePoint &  pointInfo,
const scalar  tol
)  [inline]
 

Influence of point on edge.

Definition at line 279 of file pointEdgePointI.H.

References primitiveMesh::edges(), mesh, Foam::point, Foam::pointField, and primitiveMesh::points().

Here is the call graph for this function:

bool updatePoint (  const pointEdgePoint &  newPointInfo,
const scalar  tol
)  [inline]
 

Influence of different value on same point.

No information about current position whatsoever.

Definition at line 268 of file pointEdgePointI.H.

bool updatePoint (  const polyMesh &  mesh,
const label  pointI,
const pointEdgePoint &  newPointInfo,
const scalar  tol
)  [inline]
 

Influence of different value on same point.

Merge new and old info.

Definition at line 249 of file pointEdgePointI.H.

References mesh, and primitiveMesh::points().

Here is the call graph for this function:

bool updatePoint (  const polyMesh &  mesh,
const label  pointI,
const label  edgeI,
const pointEdgePoint &  edgeInfo,
const scalar  tol
)  [inline]
 

Influence of edge on point.

Definition at line 229 of file pointEdgePointI.H.

References mesh, and primitiveMesh::points().

Here is the call graph for this function:

bool valid (   )  const [inline]
 

Check whether origin has been changed at all or.

still contains original (invalid) value.

Definition at line 163 of file pointEdgePointI.H.

References pointEdgePoint::sameGeometry().

Here is the call graph for this function:


Friends And Related Function Documentation

Ostream& operator<< (  Ostream &  ,
const pointEdgePoint & 
)  [friend]
 

Istream& operator>> (  Istream &  ,
pointEdgePoint & 
)  [friend]
 


Member Data Documentation

point greatPoint [static]
 

initial point far away.

Definition at line 108 of file pointEdgePoint.H.


The documentation for this class was generated from the following files:
For further information go to www.openfoam.org