A.I.M.S algorithms


Facet Class Reference

#include <aims/mesh/facet.h>

Collaboration diagram for Facet:

Public Member Functions

 Facet ()
 
virtual ~Facet ()
 
uint key () const
 
bool equal (const Facet &other) const
 
Point3dlocation ()
 
const Point3dlocation () const
 
bytetype ()
 
byte type () const
 
short *& offset ()
 
short * offset () const
 
uintid ()
 
uint id () const
 
void setNeighbor (Facet **pNeighor, int nNeighbor)
 
void setNeighbor (int nNeighbor)
 
int getNeighbor (const aims::Connectivity &connect, Facet **pNeighor) const
 
Facet *& pNeighbor (int index)
 
const Facet *& pNeighbor (int index) const
 
int nNeighbor () const
 

Protected Attributes

Point3d _location
 
byte _type
 
int _nNeighbor
 
Facet ** _pNeighbor
 
uint _id
 
short * _offset
 

Detailed Description

Definition at line 43 of file facet.h.

Constructor & Destructor Documentation

Facet::Facet ( )
inline

Definition at line 90 of file facet.h.

References _nNeighbor, and _pNeighbor.

Facet::~Facet ( )
inlinevirtual

Definition at line 98 of file facet.h.

References _pNeighbor.

Member Function Documentation

bool Facet::equal ( const Facet other) const
inline

Definition at line 116 of file facet.h.

References _offset, and _type.

int Facet::getNeighbor ( const aims::Connectivity connect,
Facet **  pNeighor 
) const
uint& Facet::id ( )
inline

Definition at line 62 of file facet.h.

Referenced by operator<<().

uint Facet::id ( ) const
inline

Definition at line 63 of file facet.h.

uint Facet::key ( ) const
inline

Definition at line 106 of file facet.h.

References _location, and _type.

Point3d& Facet::location ( )
inline

Definition at line 53 of file facet.h.

Referenced by operator<<().

const Point3d& Facet::location ( ) const
inline

Definition at line 54 of file facet.h.

int Facet::nNeighbor ( ) const
inline

Definition at line 74 of file facet.h.

Referenced by operator<<(), and setNeighbor().

short*& Facet::offset ( )
inline

Definition at line 59 of file facet.h.

Referenced by operator<<().

short* Facet::offset ( ) const
inline

Definition at line 60 of file facet.h.

Facet*& Facet::pNeighbor ( int  index)
inline

Definition at line 70 of file facet.h.

Referenced by operator<<().

const Facet*& Facet::pNeighbor ( int  index) const
inline

Definition at line 71 of file facet.h.

void Facet::setNeighbor ( Facet **  pNeighor,
int  nNeighbor 
)
inline

Definition at line 123 of file facet.h.

References _nNeighbor, _pNeighbor, and nNeighbor().

void Facet::setNeighbor ( int  nNeighbor)
inline

Definition at line 136 of file facet.h.

References _nNeighbor, _pNeighbor, and nNeighbor().

byte& Facet::type ( )
inline

Definition at line 56 of file facet.h.

Referenced by operator<<().

byte Facet::type ( ) const
inline

Definition at line 57 of file facet.h.

Member Data Documentation

uint Facet::_id
protected

Definition at line 84 of file facet.h.

Point3d Facet::_location
protected

Definition at line 78 of file facet.h.

Referenced by key().

int Facet::_nNeighbor
protected

Definition at line 81 of file facet.h.

Referenced by Facet(), and setNeighbor().

short* Facet::_offset
protected

Definition at line 85 of file facet.h.

Referenced by equal().

Facet** Facet::_pNeighbor
protected

Definition at line 82 of file facet.h.

Referenced by Facet(), setNeighbor(), and ~Facet().

byte Facet::_type
protected

Definition at line 79 of file facet.h.

Referenced by equal(), and key().


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