SimpleFastOpenAtomicVisualiser
Loading...
Searching...
No Matches
Classes | Functions | Variables
trixel.h File Reference
#include <triangle.h>
Include dependency graph for trixel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Trixel< T >
 A triangular pixel of a hierarchical triangular mesh. More...
 

Functions

template<class T >
std::array< Trixel< T >, 4 > subdivideTrixel (Trixel< T > &trix)
 Subdivide a Trixel.
 

Variables

const uint32_t NULL_ID = std::numeric_limits<uint32_t>::max()
 The null Trixel identity.
 

Function Documentation

◆ subdivideTrixel()

template<class T >
std::array< Trixel< T >, 4 > subdivideTrixel ( Trixel< T > &  trix)

Subdivide a Trixel.

Remarks
Subdivides into 4 Trixels (like a Triforce).
Template Parameters
Tnumeric type.
Parameters
trixthe Trixel to subdivide.
Returns
std::array<Trixel<T>, 4> The resulting subdivision.

Variable Documentation

◆ NULL_ID

The null Trixel identity.