Computer Assisted Medical Intervention Tool Kit  version 5.2
 
Loading...
Searching...
No Matches
Facet Class Reference

Class facet to hold and compare facet This class is used for the extraction of external surface during importation of simulator specific files. More...

#include <Facet.h>

+ Collaboration diagram for Facet:

Public Member Functions

void debug ()
 print on stdout
 
void debug ()
 print on stdout
 
 Facet (unsigned int size, unsigned int id[])
 create a facet using size nodes and their indexes
 
 Facet (unsigned int size, unsigned int id[])
 create a facet using size nodes and their indexes
 
CellgetCell (PhysicalModel *) const
 return the corresponding PML cell
 
CellgetCell (PhysicalModel *) const
 return the corresponding PML cell
 
unsigned int getUsed () const
 get the number of time it is being used
 
unsigned int getUsed () const
 get the number of time it is being used
 
bool testEquivalence (unsigned int size, unsigned int id[])
 if it is the same (equivalent) facet, increment used (return true if equivalence)
 
bool testEquivalence (unsigned int size, unsigned int id[])
 if it is the same (equivalent) facet, increment used (return true if equivalence)
 
virtual ~Facet ()
 destructor
 
virtual ~Facet ()
 destructor
 

Detailed Description

Class facet to hold and compare facet This class is used for the extraction of external surface during importation of simulator specific files.

Class facet to old and compare facet.

Constructor & Destructor Documentation

◆ Facet() [1/2]

Facet::Facet ( unsigned int  size,
unsigned int  id[] 
)

create a facet using size nodes and their indexes

◆ ~Facet() [1/2]

Facet::~Facet ( )
virtual

destructor

◆ Facet() [2/2]

Facet::Facet ( unsigned int  size,
unsigned int  id[] 
)

create a facet using size nodes and their indexes

◆ ~Facet() [2/2]

virtual Facet::~Facet ( )
virtual

destructor

Member Function Documentation

◆ debug() [1/2]

void Facet::debug ( )

print on stdout

◆ debug() [2/2]

void Facet::debug ( )

print on stdout

◆ getCell() [1/2]

Cell * Facet::getCell ( PhysicalModel pm) const

return the corresponding PML cell

References a, StructuralComponent::addStructureIfNotIn(), PhysicalModel::getAtom(), StructureProperties::QUAD, and StructureProperties::TRIANGLE.

+ Here is the call graph for this function:

◆ getCell() [2/2]

Cell * Facet::getCell ( PhysicalModel ) const

return the corresponding PML cell

◆ getUsed() [1/2]

unsigned int Facet::getUsed ( ) const

get the number of time it is being used

◆ getUsed() [2/2]

unsigned int Facet::getUsed ( ) const

get the number of time it is being used

◆ testEquivalence() [1/2]

bool Facet::testEquivalence ( unsigned int  size,
unsigned int  id[] 
)

if it is the same (equivalent) facet, increment used (return true if equivalence)

◆ testEquivalence() [2/2]

bool Facet::testEquivalence ( unsigned int  size,
unsigned int  id[] 
)

if it is the same (equivalent) facet, increment used (return true if equivalence)


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