#include <nav.hpp>

Inheritance diagram for Corn3D:
Inheritance graph

Public Member Functions

 Corn3D (Dir i_, Dir j_, Dir k_)
 
 Corn3D (const Corn3D &rhs)
 
Corn3D pivot (Dim3D dim, Dir dir)
 
Dir k () const
 
bool operator== (const Corn3D &rhs) const
 
Dir i () const
 
Dir j () const
 

Protected Attributes

const Dir m_k
 
const Dir m_i
 
const Dir m_j
 

Friends

std::ostream & operator<< (std::ostream &os, const Corn3D &c)
 

Detailed Description

Three-dimensional corner type. It inherits from the two-dimensional one since we can project a corner onto the two-dimensional surface.

Constructor & Destructor Documentation

Corn3D::Corn3D ( Dir  i_,
Dir  j_,
Dir  k_ 
)
inline

Referenced by pivot().

Corn3D::Corn3D ( const Corn3D rhs)
inline

Member Function Documentation

Dir Corn2D::i ( ) const
inlineinherited

References Corn2D::m_i.

Referenced by Cart2D::node_ndx().

Dir Corn2D::j ( ) const
inlineinherited

References Corn2D::m_j.

Referenced by Cart2D::node_ndx().

Dir Corn3D::k ( ) const
inline

References m_k.

bool Corn3D::operator== ( const Corn3D rhs) const
inline

Compare two corners

References Corn2D::m_i, Corn2D::m_j, and m_k.

Corn3D Corn3D::pivot ( Dim3D  dim,
Dir  dir 
)
inline

Initialize a new corner where one dimension has been (optionally) pivoted in another direction. We use this to correct classifier information about a corner; by enumerating all the vertices of an element through the sides (pivoting a corner to the dimension in which its containing face is), we can figure out in which corner they belong in.

References Corn3D(), Corn2D::m_i, Corn2D::m_j, m_k, Dim2D::X, Dim2D::Y, and Dim3D::Z.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const Corn3D c 
)
friend

Member Data Documentation

const Dir Corn2D::m_i
protectedinherited

Referenced by Corn2D::i(), operator==(), and pivot().

const Dir Corn2D::m_j
protectedinherited

Referenced by Corn2D::j(), operator==(), and pivot().

const Dir Corn3D::m_k
protected

Referenced by k(), operator==(), and pivot().


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