Public Member Functions | |
INTERPKERNEL_EXPORT void | applySimilarity (double xBary, double yBary, double dimChar) |
INTERPKERNEL_EXPORT bool | changeEndNodeWith (Node *node) const |
INTERPKERNEL_EXPORT bool | changeStartNodeWith (Node *node) const |
INTERPKERNEL_EXPORT ElementaryEdge * | clone () const |
INTERPKERNEL_EXPORT bool | completed () const |
INTERPKERNEL_EXPORT void | declareIn () const |
INTERPKERNEL_EXPORT void | declareOn () const |
INTERPKERNEL_EXPORT void | declareOut () const |
INTERPKERNEL_EXPORT void | dumpInXfigFile (std::ostream &stream, int resolution, const Bounds &box) const |
INTERPKERNEL_EXPORT | ElementaryEdge (Edge *ptr, bool direction) |
INTERPKERNEL_EXPORT | ElementaryEdge (const ElementaryEdge &other) |
INTERPKERNEL_EXPORT void | fillBounds (Bounds &output) const |
INTERPKERNEL_EXPORT void | fillGlobalInfoAbs (const std::map< INTERP_KERNEL::Node *, int > &mapThis, const std::map< INTERP_KERNEL::Node *, int > &mapOther, int offset1, int offset2, double fact, double baryX, double baryY, std::vector< int > &edgesThis, std::vector< double > &addCoo, std::map< INTERP_KERNEL::Node *, int > mapAddCoo) const |
INTERPKERNEL_EXPORT void | fillGlobalInfoAbs2 (const std::map< INTERP_KERNEL::Node *, int > &mapThis, const std::map< INTERP_KERNEL::Node *, int > &mapOther, int offset1, int offset2, double fact, double baryX, double baryY, std::vector< int > &edgesOther, std::vector< double > &addCoo, std::map< INTERP_KERNEL::Node *, int > &mapAddCoo) const |
INTERPKERNEL_EXPORT void | getAllNodes (std::set< Node * > &output) const |
INTERPKERNEL_EXPORT double | getAreaOfZone () const |
INTERPKERNEL_EXPORT void | getBarycenter (double *bary, double &weigh) const |
INTERPKERNEL_EXPORT void | getBarycenterOfZone (double *bary) const |
INTERPKERNEL_EXPORT double | getCurveLength () const |
INTERPKERNEL_EXPORT bool | getDirection () const |
INTERPKERNEL_EXPORT Node * | getEndNode () const |
INTERPKERNEL_EXPORT IteratorOnComposedEdge & | getIterator () |
INTERPKERNEL_EXPORT TypeOfEdgeLocInPolygon | getLoc () const |
INTERPKERNEL_EXPORT Edge * | getPtr () const |
INTERPKERNEL_EXPORT Node * | getStartNode () const |
INTERPKERNEL_EXPORT void | initLocations () const |
INTERPKERNEL_EXPORT bool | intresicEqual (const ElementaryEdge *other) const |
INTERPKERNEL_EXPORT bool | intresicEqualDirSensitive (const ElementaryEdge *other) const |
INTERPKERNEL_EXPORT bool | intresincEqCoarse (const Edge *other) const |
INTERPKERNEL_EXPORT bool | isEqual (const ElementaryEdge &other) const |
INTERPKERNEL_EXPORT bool | isNodeIn (Node *n) const |
INTERPKERNEL_EXPORT bool | isThereStartPoint () const |
INTERPKERNEL_EXPORT TypeOfEdgeLocInPolygon | locateFullyMySelf (const ComposedEdge &pol, TypeOfEdgeLocInPolygon precEdgeLoc) const |
INTERPKERNEL_EXPORT TypeOfEdgeLocInPolygon | locateFullyMySelfAbsolute (const ComposedEdge &pol) const |
INTERPKERNEL_EXPORT void | reverse () |
INTERPKERNEL_EXPORT int | size () const |
INTERPKERNEL_EXPORT void | unApplySimilarity (double xBary, double yBary, double dimChar) |
INTERPKERNEL_EXPORT | ~ElementaryEdge () |
Static Public Member Functions | |
static INTERPKERNEL_EXPORT ElementaryEdge * | BuildEdgeFromStartEndDir (bool direction, INTERP_KERNEL::Node *start, INTERP_KERNEL::Node *end) |
INTERPKERNEL_EXPORT INTERP_KERNEL::ElementaryEdge::ElementaryEdge | ( | Edge * | ptr, |
bool | direction | ||
) |
Referenced by BuildEdgeFromStartEndDir(), and clone().
ElementaryEdge::ElementaryEdge | ( | const ElementaryEdge & | other | ) |
References INTERP_KERNEL::Edge::incrRef().
ElementaryEdge::~ElementaryEdge | ( | ) |
References INTERP_KERNEL::Edge::decrRef().
INTERPKERNEL_EXPORT bool INTERP_KERNEL::ElementaryEdge::isThereStartPoint | ( | ) | const |
INTERPKERNEL_EXPORT IteratorOnComposedEdge& INTERP_KERNEL::ElementaryEdge::getIterator | ( | ) |
INTERPKERNEL_EXPORT bool INTERP_KERNEL::ElementaryEdge::completed | ( | ) | const |
INTERPKERNEL_EXPORT void INTERP_KERNEL::ElementaryEdge::declareOn | ( | ) | const |
References INTERP_KERNEL::Edge::declareOn().
INTERPKERNEL_EXPORT void INTERP_KERNEL::ElementaryEdge::declareIn | ( | ) | const |
References INTERP_KERNEL::Edge::declareIn().
Referenced by locateFullyMySelf(), and locateFullyMySelfAbsolute().
INTERPKERNEL_EXPORT void INTERP_KERNEL::ElementaryEdge::declareOut | ( | ) | const |
References INTERP_KERNEL::Edge::declareOut().
Referenced by locateFullyMySelf(), and locateFullyMySelfAbsolute().
INTERPKERNEL_EXPORT TypeOfEdgeLocInPolygon INTERP_KERNEL::ElementaryEdge::getLoc | ( | ) | const |
References INTERP_KERNEL::Edge::getLoc().
Referenced by INTERP_KERNEL::QuadraticPolygon::ComputeResidual(), INTERP_KERNEL::IteratorOnComposedEdge::goToNextInOn(), INTERP_KERNEL::QuadraticPolygon::haveIAChanceToBeCompletedBy(), locateFullyMySelf(), locateFullyMySelfAbsolute(), and INTERP_KERNEL::QuadraticPolygon::zipConsecutiveInSegments().
INTERPKERNEL_EXPORT Edge* INTERP_KERNEL::ElementaryEdge::getPtr | ( | ) | const |
Referenced by INTERP_KERNEL::QuadraticPolygon::buildFromCrudeDataArray2(), INTERP_KERNEL::QuadraticPolygon::buildPartitionsAbs(), INTERP_KERNEL::QuadraticPolygon::ComputeResidual(), INTERP_KERNEL::QuadraticPolygon::haveIAChanceToBeCompletedBy(), INTERP_KERNEL::QuadraticPolygon::splitAbs(), INTERP_KERNEL::QuadraticPolygon::SplitPolygonsEachOther(), and INTERP_KERNEL::QuadraticPolygon::updateLocOfEdgeFromCrudeDataArray2().
INTERPKERNEL_EXPORT void INTERP_KERNEL::ElementaryEdge::reverse | ( | ) |
Referenced by INTERP_KERNEL::QuadraticPolygon::fillAsMuchAsPossibleWith().
bool ElementaryEdge::isNodeIn | ( | Node * | n | ) | const |
References INTERP_KERNEL::Edge::getEndNode(), and INTERP_KERNEL::Edge::getStartNode().
INTERPKERNEL_EXPORT double INTERP_KERNEL::ElementaryEdge::getAreaOfZone | ( | ) | const |
References INTERP_KERNEL::Edge::getAreaOfZone().
void ElementaryEdge::getBarycenterOfZone | ( | double * | bary | ) | const |
WARNING contrary to INTERP_KERNEL::Edge::getBarycenterOfZone method called, this one is cumulative.
References INTERP_KERNEL::Edge::getBarycenterOfZone().
void ElementaryEdge::fillBounds | ( | Bounds & | output | ) | const |
References INTERP_KERNEL::Edge::getBounds().
INTERPKERNEL_EXPORT void INTERP_KERNEL::ElementaryEdge::applySimilarity | ( | double | xBary, |
double | yBary, | ||
double | dimChar | ||
) |
References INTERP_KERNEL::Edge::applySimilarity().
INTERPKERNEL_EXPORT void INTERP_KERNEL::ElementaryEdge::unApplySimilarity | ( | double | xBary, |
double | yBary, | ||
double | dimChar | ||
) |
References INTERP_KERNEL::Edge::unApplySimilarity().
void ElementaryEdge::getAllNodes | ( | std::set< Node * > & | output | ) | const |
References INTERP_KERNEL::Edge::getEndNode(), and INTERP_KERNEL::Edge::getStartNode().
void ElementaryEdge::getBarycenter | ( | double * | bary, |
double & | weigh | ||
) | const |
ElementaryEdge * ElementaryEdge::clone | ( | ) | const |
void ElementaryEdge::initLocations | ( | ) | const |
References INTERP_KERNEL::Edge::initLocs().
INTERPKERNEL_EXPORT int INTERP_KERNEL::ElementaryEdge::size | ( | ) | const |
TypeOfEdgeLocInPolygon ElementaryEdge::locateFullyMySelfAbsolute | ( | const ComposedEdge & | pol | ) | const |
References INTERP_KERNEL::Edge::buildRepresentantOfMySelf(), declareIn(), declareOut(), INTERP_KERNEL::Node::decrRef(), getLoc(), and INTERP_KERNEL::ComposedEdge::isInOrOut().
Referenced by INTERP_KERNEL::QuadraticPolygon::haveIAChanceToBeCompletedBy(), locateFullyMySelf(), and INTERP_KERNEL::QuadraticPolygon::performLocatingOperationSlow().
TypeOfEdgeLocInPolygon ElementaryEdge::locateFullyMySelf | ( | const ComposedEdge & | pol, |
TypeOfEdgeLocInPolygon | precEdgeLoc | ||
) | const |
WARNING use this method if and only if this is so that it is completely in/out/on of
pol. |
References declareIn(), declareOut(), INTERP_KERNEL::FULL_IN_1, INTERP_KERNEL::FULL_OUT_1, INTERP_KERNEL::FULL_UNKNOWN, getEndNode(), getLoc(), getStartNode(), INTERP_KERNEL::IN_1, locateFullyMySelfAbsolute(), INTERP_KERNEL::ON_1, INTERP_KERNEL::ON_TANG_1, and INTERP_KERNEL::OUT_1.
Referenced by INTERP_KERNEL::QuadraticPolygon::buildIntersectionPolygons(), and INTERP_KERNEL::QuadraticPolygon::performLocatingOperation().
Node * ElementaryEdge::getEndNode | ( | ) | const |
Node * ElementaryEdge::getStartNode | ( | ) | const |
References INTERP_KERNEL::Edge::getEndNode(), and INTERP_KERNEL::Edge::getStartNode().
Referenced by INTERP_KERNEL::QuadraticPolygon::ComputeResidual(), INTERP_KERNEL::QuadraticPolygon::fillAsMuchAsPossibleWith(), INTERP_KERNEL::QuadraticPolygon::haveIAChanceToBeCompletedBy(), locateFullyMySelf(), and INTERP_KERNEL::QuadraticPolygon::splitAbs().
INTERPKERNEL_EXPORT double INTERP_KERNEL::ElementaryEdge::getCurveLength | ( | ) | const |
References INTERP_KERNEL::Edge::getCurveLength().
Referenced by INTERP_KERNEL::ComposedEdge::getCommonLengthWith().
bool ElementaryEdge::changeEndNodeWith | ( | Node * | node | ) | const |
References INTERP_KERNEL::Edge::changeEndNodeWith(), and INTERP_KERNEL::Edge::changeStartNodeWith().
Referenced by INTERP_KERNEL::QuadraticPolygon::UpdateNeighbours().
bool ElementaryEdge::changeStartNodeWith | ( | Node * | node | ) | const |
bool ElementaryEdge::intresicEqual | ( | const ElementaryEdge * | other | ) | const |
bool ElementaryEdge::intresicEqualDirSensitive | ( | const ElementaryEdge * | other | ) | const |
void ElementaryEdge::dumpInXfigFile | ( | std::ostream & | stream, |
int | resolution, | ||
const Bounds & | box | ||
) | const |
References INTERP_KERNEL::Edge::dumpInXfigFile().
INTERPKERNEL_EXPORT bool INTERP_KERNEL::ElementaryEdge::getDirection | ( | ) | const |
bool ElementaryEdge::intresincEqCoarse | ( | const Edge * | other | ) | const |
bool ElementaryEdge::isEqual | ( | const ElementaryEdge & | other | ) | const |
References INTERP_KERNEL::Edge::isEqual().
void ElementaryEdge::fillGlobalInfoAbs | ( | const std::map< INTERP_KERNEL::Node *, int > & | mapThis, |
const std::map< INTERP_KERNEL::Node *, int > & | mapOther, | ||
int | offset1, | ||
int | offset2, | ||
double | fact, | ||
double | baryX, | ||
double | baryY, | ||
std::vector< int > & | edgesThis, | ||
std::vector< double > & | addCoo, | ||
std::map< INTERP_KERNEL::Node *, int > | mapAddCoo | ||
) | const |
Called by QuadraticPolygon::splitAbs method.
References INTERP_KERNEL::Edge::fillGlobalInfoAbs().
void ElementaryEdge::fillGlobalInfoAbs2 | ( | const std::map< INTERP_KERNEL::Node *, int > & | mapThis, |
const std::map< INTERP_KERNEL::Node *, int > & | mapOther, | ||
int | offset1, | ||
int | offset2, | ||
double | fact, | ||
double | baryX, | ||
double | baryY, | ||
std::vector< int > & | edgesOther, | ||
std::vector< double > & | addCoo, | ||
std::map< INTERP_KERNEL::Node *, int > & | mapAddCoo | ||
) | const |
Called by QuadraticPolygon::splitAbs method. Close to ElementaryEdge::fillGlobalInfoAbs method expect that here edgesOther (that replace edgesThis) is here an in/out parameter that only contains nodes unsorted because the "other" mesh is not subdivided yet.
References INTERP_KERNEL::Edge::fillGlobalInfoAbs2().
|
static |
This method builds from a start node, an end node and a direction a new ElementaryEdge.
References INTERP_KERNEL::Edge::BuildEdgeFrom(), and ElementaryEdge().
Referenced by INTERP_KERNEL::QuadraticPolygon::appendSubEdgeFromCrudeDataArray(), and INTERP_KERNEL::QuadraticPolygon::buildFromCrudeDataArray2().