Open CASCADE Technology
6.9.0
|
#include <Poly_CoherentTriPtr.hxx>
Data Structures | |
class | Iterator |
Public Member Functions | |
Poly_CoherentTriPtr (const Poly_CoherentTriangle &theTri) | |
const Poly_CoherentTriangle & | GetTriangle () const |
void | SetTriangle (const Poly_CoherentTriangle *pTri) |
Poly_CoherentTriPtr & | Next () const |
Poly_CoherentTriPtr & | Previous () 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) | |
Implementation of both list node for Poly_CoherentTriangle type and round double-linked list of these nodes.
|
inline |
Constructor.
|
inlineprotected |
Constructor.
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.
pTri | Triangle that is to be included in the list after this one. |
theA | Allocator where the new pointer instance is created. |
|
inline |
Operator new for dynamic allocations Query the stored pointer to Triangle.
|
inline |
Query the next pointer in the list.
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.
pTri | Triangle that is to be included in the list before this one. |
theA | Allocator where the new pointer instance is created. |
|
inline |
Query the previous pointer in the list.
|
static |
Remove a pointer to triangle from its list.
thePtr | This class instance that should be removed from its list. |
theA | Allocator where the current pointer instance was created. |
|
static |
Remove the list containing the given pointer to triangle.
|
inline |
Initialize this instance with a pointer to triangle.