35 #ifndef AIMS_MESH_FACET_H
36 #define AIMS_MESH_FACET_H
51 bool equal(
const Facet& other )
const;
56 byte&
type() {
return _type; }
57 byte type()
const {
return _type; }
60 short*
offset()
const {
return _offset; }
65 void setNeighbor(
Facet** pNeighor,
int nNeighbor );
66 void setNeighbor(
int nNeighbor );
68 Facet** pNeighor )
const;
72 {
return (
const Facet *&)_pNeighbor[ index ]; }
152 out <<
"{location=" << thing.
location()
153 <<
", type=" << (int)thing.
type()
154 <<
", offset=" << thing.
offset()
155 <<
", id=" << thing.
id()
158 for (
int n = 0; n < thing.
nNeighbor(); n++ )
int getNeighbor(const aims::Connectivity &connect, Facet **pNeighor) const
bool equal(const Facet &other) const
Facet *& pNeighbor(int index)
const Point3d & location() const
const Facet *& pNeighbor(int index) const
void setNeighbor(Facet **pNeighor, int nNeighbor)
std::ostream & operator<<(std::ostream &out, const Facet &thing)