intersection::couple Struct Reference

Structure to store the geometry associated with the coupling. More...

Inheritance diagram for intersection::couple:
Collaboration diagram for intersection::couple:

Public Member Functions

 couple ()
 Default construct. More...
 
 couple (const part &p, const part &nbrP)
 Construct from a coupled pair of parts. More...
 
- Public Member Functions inherited from intersection::part
 part ()
 Default construct. More...
 
 part (const zero &)
 Default construct. More...
 
 part (const vector &a, const point &c)
 Construct from an area and a centre. More...
 
template<class PointField >
 part (const PointField &ps)
 Construct from a polygon. More...
 
part operator- () const
 Negate this part. More...
 
void operator+= (const part &p)
 Add another part to this one. More...
 
void operator-= (const part &p)
 Subtract another part from this one. More...
 

Public Attributes

part nbr
 The neighbour part. More...
 
- Public Attributes inherited from intersection::part
vector area
 The area of this part. More...
 
point centre
 The centre of this part. More...
 

Friends

bool operator== (const couple &a, const couple &b)
 Equality comparison. More...
 
bool operator!= (const couple &a, const couple &b)
 Inequality comparison. More...
 
Ostreamoperator<< (Ostream &os, const couple &c)
 Output stream operator. More...
 
Istreamoperator>> (Istream &is, couple &c)
 Input stream operator. More...
 

Detailed Description

Structure to store the geometry associated with the coupling.

between parts of two patch faces

Definition at line 154 of file intersectionPatchToPatch.H.

Constructor & Destructor Documentation

◆ couple() [1/2]

couple ( )
inline

Default construct.

Definition at line 162 of file intersectionPatchToPatch.H.

◆ couple() [2/2]

couple ( const part p,
const part nbrP 
)
inline

Construct from a coupled pair of parts.

Definition at line 169 of file intersectionPatchToPatch.H.

Friends And Related Function Documentation

◆ operator==

bool operator== ( const couple a,
const couple b 
)
friend

Equality comparison.

Definition at line 176 of file intersectionPatchToPatch.H.

◆ operator!=

bool operator!= ( const couple a,
const couple b 
)
friend

Inequality comparison.

Definition at line 184 of file intersectionPatchToPatch.H.

◆ operator<<

Ostream& operator<< ( Ostream os,
const couple c 
)
friend

Output stream operator.

Definition at line 190 of file intersectionPatchToPatch.H.

◆ operator>>

Istream& operator>> ( Istream is,
couple c 
)
friend

Input stream operator.

Definition at line 196 of file intersectionPatchToPatch.H.

Member Data Documentation

◆ nbr

part nbr

The neighbour part.

Definition at line 159 of file intersectionPatchToPatch.H.

Referenced by intersection::srcBoxStatic().


The documentation for this struct was generated from the following file: