Core 1.0
Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
Simplex Class Reference

Implicit simplex decomposition of space. More...

#include <simplex.h>

Public Member Functions

 Simplex (const double &=1.0)
 Create a simplex array. More...
 
 ~Simplex ()
 Empty.
 
double Size () const
 Return the size of the simplex structure.
 
Tetrahedra Corners (const Vector &) const
 Compute the tetrahedron containing the argument point. More...
 

Protected Attributes

double size = 1.0
 Size.
 

Static Protected Attributes

static const double G3 = 1.0 / 6.0
 Unskew factors.
 

Detailed Description

Implicit simplex decomposition of space.

Constructor & Destructor Documentation

◆ Simplex()

Simplex::Simplex ( const double &  s = 1.0)
explicit

Create a simplex array.

Parameters
sSize.

Member Function Documentation

◆ Corners()

Tetrahedra Simplex::Corners ( const Vector q) const

Compute the tetrahedron containing the argument point.

Parameters
qPoint.