SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
PrismVolMesh< Basis >::PEdge Struct Reference

Edge information. More...

#include <PrismVolMesh.h>

Public Member Functions

 PEdge ()
 
 PEdge (typename Node::index_type n1, typename Node::index_type n2)
 
bool shared () const
 
bool operator== (const PEdge &e) const
 true if both have the same nodes (order does not matter) More...
 
bool operator< (const PEdge &e) const
 

Public Attributes

Node::index_type nodes_ [2]
 
std::vector< typename
Cell::index_type
cells_
 list of all the cells this edge is in. More...
 

Detailed Description

template<class Basis>
struct SCIRun::PrismVolMesh< Basis >::PEdge

Edge information.

Constructor & Destructor Documentation

PEdge ( )
inline
PEdge ( typename Node::index_type  n1,
typename Node::index_type  n2 
)
inline

Member Function Documentation

bool operator< ( const PEdge e) const
inline

Compares each node. When a non equal node is found the < operator is applied.

bool operator== ( const PEdge e) const
inline

true if both have the same nodes (order does not matter)

bool shared ( ) const
inline

Member Data Documentation

std::vector<typename Cell::index_type> cells_

list of all the cells this edge is in.

2 nodes makes an edge.

Node::index_type nodes_[2]

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