Public Member Functions | |
void | attachLoc () |
Node * | getNodeAndReleaseIt () |
Node * | getNodeOnly () const |
double | getVal1 () const |
double | getVal2 () const |
IntersectElement (double val1, double val2, bool start1, bool end1, bool start2, bool end2, Node *node, const Edge &e1, const Edge &e2, bool keepOrder) | |
IntersectElement (const IntersectElement &other) | |
bool | isIncludedByBoth () const |
bool | isLowerOnOther (const IntersectElement &other) const |
unsigned | isOnExtrForAnEdgeAndInForOtherEdge () const |
bool | isOnMergedExtremity () const |
bool | operator< (const IntersectElement &other) const |
IntersectElement & | operator= (const IntersectElement &other) |
void | performMerging (MergePoints &commonNode) const |
void | setNode (Node *node) const |
~IntersectElement () | |
Static Public Attributes | |
static const unsigned | LIMIT_ALONE = 22 |
static const unsigned | LIMIT_ON = 73 |
static const unsigned | NO_LIMIT = 19 |
This class is in charge to store an intersection point as result of non oververlapping edge intersection. This class manages the cases when intersect element is one of the extrimities of edge1 and/or edge2.
IntersectElement::IntersectElement | ( | double | val1, |
double | val2, | ||
bool | start1, | ||
bool | end1, | ||
bool | start2, | ||
bool | end2, | ||
Node * | node, | ||
const Edge & | e1, | ||
const Edge & | e2, | ||
bool | keepOrder | ||
) |
IntersectElement::IntersectElement | ( | const IntersectElement & | other | ) |
References INTERP_KERNEL::Node::incrRef().
IntersectElement::~IntersectElement | ( | ) |
References INTERP_KERNEL::Node::decrRef().
bool IntersectElement::operator< | ( | const IntersectElement & | other | ) | const |
The sort operator is done on the edge 1 not edge 2.
References INTERP_KERNEL::Edge::isLower().
IntersectElement & IntersectElement::operator= | ( | const IntersectElement & | other | ) |
References setNode().
double INTERP_KERNEL::IntersectElement::getVal1 | ( | ) | const |
double INTERP_KERNEL::IntersectElement::getVal2 | ( | ) | const |
bool IntersectElement::isLowerOnOther | ( | const IntersectElement & | other | ) | const |
idem operator< method except that the orientation is done on edge 2 not edge 1.
References INTERP_KERNEL::Edge::isLower().
unsigned IntersectElement::isOnExtrForAnEdgeAndInForOtherEdge | ( | ) | const |
void INTERP_KERNEL::IntersectElement::attachLoc | ( | ) |
bool IntersectElement::isOnMergedExtremity | ( | ) | const |
Returns 0 or 1.
bool IntersectElement::isIncludedByBoth | ( | ) | const |
References INTERP_KERNEL::Edge::isIn().
void IntersectElement::setNode | ( | Node * | node | ) | const |
This methode is const because 'node' is supposed to be equal geomitrically to _node.
References INTERP_KERNEL::Node::incrRef().
Referenced by isOnExtrForAnEdgeAndInForOtherEdge(), and operator=().
void IntersectElement::performMerging | ( | MergePoints & | commonNode | ) | const |
To call if isOnMergedExtremity returned true.
References INTERP_KERNEL::Edge::changeEndNodeWith(), INTERP_KERNEL::Edge::changeStartNodeWith(), INTERP_KERNEL::Node::declareOnLim(), INTERP_KERNEL::MergePoints::end1OnEnd2(), INTERP_KERNEL::MergePoints::end1OnStart2(), INTERP_KERNEL::Edge::getEndNode(), INTERP_KERNEL::Edge::getStartNode(), INTERP_KERNEL::MergePoints::start1OnEnd2(), and INTERP_KERNEL::MergePoints::start1OnStart2().
Node* INTERP_KERNEL::IntersectElement::getNodeOnly | ( | ) | const |
Node* INTERP_KERNEL::IntersectElement::getNodeAndReleaseIt | ( | ) |
|
static |
Referenced by INTERP_KERNEL::EdgeIntersector::intersect(), and isOnExtrForAnEdgeAndInForOtherEdge().
|
static |
Referenced by INTERP_KERNEL::EdgeIntersector::intersect(), and isOnExtrForAnEdgeAndInForOtherEdge().
|
static |
Referenced by isOnExtrForAnEdgeAndInForOtherEdge().