Class xlifepp::AdjacenceInfo#

class AdjacenceInfo#

structure to describe how two GeomElement or Element are geometrically related

  • dist: distance of elements (real_t)

  • nxn: cross product of unitary normals (real_t) to measure parallelism

  • status: one of AdjacentStatus (_notAdjacent,_adjacentByElement,_adjacentBySide,_adjacentBySideOfSide, _adjacentByVertex)

  • numbers: pair of numbers when they are adjacent: side numbers or side of side numbers or vertex numbers

Note

works only with underlying first order geometric element

Public Functions

inline AdjacenceInfo()#

constructor

void init(const GeomElement &elt1, const GeomElement &elt2, bool computeDist, bool computeNxN)#

true fonction used in constructors

Public Members

real_t dist#

distance between elements

real_t nxn#

cross product of unitary normals (real_t) to measure parallelism

std::vector<number_t> sharedVertex1#

numbers of shared vertices

std::vector<number_t> sharedVertex2#

numbers of shared vertices

AdjacentStatus status#

one of AdjacentStatus (_notAdjacent,_adjacentByElement,_adjacentBySide,_adjacentBySideOfSide, _adjacentByVertex)