Class xlifepp::AdjacenceInfo#

class AdjacenceInfo#

Collaboration diagram for xlifepp::AdjacenceInfo:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "3" [label="std::vector< T >" tooltip="std::vector< T >"] "2" [label="std::vector< number_t >" tooltip="std::vector< number_t >"] "1" [label="xlifepp::AdjacenceInfo" tooltip="xlifepp::AdjacenceInfo" fillcolor="#BFBFBF"] "2" -> "3" [dir=forward tooltip="template-instance"] "1" -> "2" [dir=forward tooltip="usage"] }

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)