Open CASCADE Technology 7.8.0
Data Structures | Public Member Functions | Static Public Member Functions | Protected Member Functions
Poly_CoherentTriPtr Class Reference

#include <Poly_CoherentTriPtr.hxx>

Data Structures

class  Iterator
 

Public Member Functions

 Poly_CoherentTriPtr (const Poly_CoherentTriangle &theTri)
 
const Poly_CoherentTriangleGetTriangle () const
 
void SetTriangle (const Poly_CoherentTriangle *pTri)
 
Poly_CoherentTriPtrNext () const
 
Poly_CoherentTriPtrPrevious () const
 
void Append (const Poly_CoherentTriangle *pTri, const Handle< NCollection_BaseAllocator > &theA)
 
void Prepend (const Poly_CoherentTriangle *pTri, const Handle< NCollection_BaseAllocator > &theA)
 

Static Public Member Functions

static void Remove (Poly_CoherentTriPtr *thePtr, const Handle< NCollection_BaseAllocator > &theA)
 
static void RemoveList (Poly_CoherentTriPtr *thePtr, const Handle< NCollection_BaseAllocator > &)
 

Protected Member Functions

 Poly_CoherentTriPtr (const Poly_CoherentTriangle *pTri)
 

Detailed Description

Implementation of both list node for Poly_CoherentTriangle type and round double-linked list of these nodes.

Constructor & Destructor Documentation

◆ Poly_CoherentTriPtr() [1/2]

Poly_CoherentTriPtr::Poly_CoherentTriPtr ( const Poly_CoherentTriangle theTri)
inline

Constructor.

◆ Poly_CoherentTriPtr() [2/2]

Poly_CoherentTriPtr::Poly_CoherentTriPtr ( const Poly_CoherentTriangle pTri)
inlineprotected

Constructor.

Member Function Documentation

◆ Append()

void Poly_CoherentTriPtr::Append ( const Poly_CoherentTriangle pTri,
const Handle< NCollection_BaseAllocator > &  theA 
)

Append a pointer to triangle into the list after the current instance.

Parameters
pTriTriangle that is to be included in the list after this one.
theAAllocator where the new pointer instance is created.

◆ GetTriangle()

const Poly_CoherentTriangle & Poly_CoherentTriPtr::GetTriangle ( ) const
inline

Operator new for dynamic allocations Query the stored pointer to Triangle.

◆ Next()

Poly_CoherentTriPtr & Poly_CoherentTriPtr::Next ( ) const
inline

Query the next pointer in the list.

◆ Prepend()

void Poly_CoherentTriPtr::Prepend ( const Poly_CoherentTriangle pTri,
const Handle< NCollection_BaseAllocator > &  theA 
)

Prepend a pointer to triangle into the list before the current instance.

Parameters
pTriTriangle that is to be included in the list before this one.
theAAllocator where the new pointer instance is created.

◆ Previous()

Poly_CoherentTriPtr & Poly_CoherentTriPtr::Previous ( ) const
inline

Query the previous pointer in the list.

◆ Remove()

static void Poly_CoherentTriPtr::Remove ( Poly_CoherentTriPtr thePtr,
const Handle< NCollection_BaseAllocator > &  theA 
)
static

Remove a pointer to triangle from its list.

Parameters
thePtrThis class instance that should be removed from its list.
theAAllocator where the current pointer instance was created.

◆ RemoveList()

static void Poly_CoherentTriPtr::RemoveList ( Poly_CoherentTriPtr thePtr,
const Handle< NCollection_BaseAllocator > &   
)
static

Remove the list containing the given pointer to triangle.

◆ SetTriangle()

void Poly_CoherentTriPtr::SetTriangle ( const Poly_CoherentTriangle pTri)
inline

Initialize this instance with a pointer to triangle.


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