Version: 9.14.0
INTERP_KERNEL::ElementaryEdge Class Reference

Public Member Functions

void applySimilarity (double xBary, double yBary, double dimChar)
 
INTERPKERNEL_EXPORT bool changeEndNodeWith (Node *node) const
 
INTERPKERNEL_EXPORT bool changeStartNodeWith (Node *node) const
 
INTERPKERNEL_EXPORT ElementaryEdgeclone () const
 
bool completed () const
 
void declareIn () const
 
void declareOn () const
 
void declareOut () const
 
INTERPKERNEL_EXPORT void dumpInXfigFile (std::ostream &stream, int resolution, const Bounds &box) const
 
INTERPKERNEL_EXPORT void dumpToCout (const std::map< INTERP_KERNEL::Node *, int > &mapp, int index) const
 
INTERPKERNEL_EXPORT ElementaryEdge (const ElementaryEdge &other)
 
 ElementaryEdge (Edge *ptr, bool direction)
 
INTERPKERNEL_EXPORT void fillBounds (Bounds &output) const
 
INTERPKERNEL_EXPORT void fillGlobalInfoAbs (const std::map< INTERP_KERNEL::Node *, mcIdType > &mapThis, const std::map< INTERP_KERNEL::Node *, mcIdType > &mapOther, mcIdType offset1, mcIdType offset2, double fact, double baryX, double baryY, std::vector< mcIdType > &edgesThis, std::vector< double > &addCoo, std::map< INTERP_KERNEL::Node *, mcIdType > mapAddCoo) const
 
INTERPKERNEL_EXPORT void fillGlobalInfoAbs2 (const std::map< INTERP_KERNEL::Node *, mcIdType > &mapThis, const std::map< INTERP_KERNEL::Node *, mcIdType > &mapOther, mcIdType offset1, mcIdType offset2, double fact, double baryX, double baryY, short skipStartOrEnd, std::vector< mcIdType > &edgesOther, std::vector< double > &addCoo, std::map< INTERP_KERNEL::Node *, mcIdType > &mapAddCoo) const
 
INTERPKERNEL_EXPORT void getAllNodes (std::set< Node * > &output) const
 
double getAreaOfZone () const
 
INTERPKERNEL_EXPORT void getBarycenter (double *bary, double &weigh) const
 
INTERPKERNEL_EXPORT void getBarycenterOfZone (double *bary) const
 
double getCurveLength () const
 
bool getDirection () const
 
INTERPKERNEL_EXPORT NodegetEndNode () const
 
IteratorOnComposedEdgegetIterator ()
 
TypeOfEdgeLocInPolygon getLoc () const
 
EdgegetPtr () const
 
INTERPKERNEL_EXPORT NodegetStartNode () const
 
INTERPKERNEL_EXPORT bool hasSameExtremities (const ElementaryEdge &other) 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
 
bool isThereStartPoint () const
 
INTERPKERNEL_EXPORT TypeOfEdgeLocInPolygon locateFullyMySelf (const ComposedEdge &pol, TypeOfEdgeLocInPolygon precEdgeLoc) const
 
INTERPKERNEL_EXPORT TypeOfEdgeLocInPolygon locateFullyMySelfAbsolute (const ComposedEdge &pol) const
 
void reverse ()
 
INTERPKERNEL_EXPORT int size () const
 
void unApplySimilarity (double xBary, double yBary, double dimChar)
 
INTERPKERNEL_EXPORT ~ElementaryEdge ()
 

Static Public Member Functions

static INTERPKERNEL_EXPORT ElementaryEdgeBuildEdgeFromStartEndDir (bool direction, INTERP_KERNEL::Node *start, INTERP_KERNEL::Node *end)
 

Constructor & Destructor Documentation

◆ ElementaryEdge() [1/2]

INTERP_KERNEL::ElementaryEdge::ElementaryEdge ( Edge ptr,
bool  direction 
)

Referenced by BuildEdgeFromStartEndDir(), and clone().

◆ ElementaryEdge() [2/2]

ElementaryEdge::ElementaryEdge ( const ElementaryEdge other)

◆ ~ElementaryEdge()

ElementaryEdge::~ElementaryEdge ( )

Member Function Documentation

◆ isThereStartPoint()

bool INTERP_KERNEL::ElementaryEdge::isThereStartPoint ( ) const

◆ getIterator()

◆ completed()

bool INTERP_KERNEL::ElementaryEdge::completed ( ) const

◆ declareOn()

void INTERP_KERNEL::ElementaryEdge::declareOn ( ) const

◆ declareIn()

void INTERP_KERNEL::ElementaryEdge::declareIn ( ) const

◆ declareOut()

void INTERP_KERNEL::ElementaryEdge::declareOut ( ) const

◆ getLoc()

◆ getPtr()

◆ reverse()

void INTERP_KERNEL::ElementaryEdge::reverse ( )

◆ isNodeIn()

bool ElementaryEdge::isNodeIn ( Node n) const

◆ getAreaOfZone()

double INTERP_KERNEL::ElementaryEdge::getAreaOfZone ( ) const

◆ getBarycenterOfZone()

void ElementaryEdge::getBarycenterOfZone ( double *  bary) const

WARNING contrary to INTERP_KERNEL::Edge::getBarycenterOfZone method called, this one is cumulative.

References INTERP_KERNEL::Edge::getBarycenterOfZone().

◆ fillBounds()

void ElementaryEdge::fillBounds ( Bounds &  output) const

◆ applySimilarity()

void INTERP_KERNEL::ElementaryEdge::applySimilarity ( double  xBary,
double  yBary,
double  dimChar 
)

◆ unApplySimilarity()

void INTERP_KERNEL::ElementaryEdge::unApplySimilarity ( double  xBary,
double  yBary,
double  dimChar 
)

◆ getAllNodes()

void ElementaryEdge::getAllNodes ( std::set< Node * > &  output) const

◆ hasSameExtremities()

bool ElementaryEdge::hasSameExtremities ( const ElementaryEdge other) const

◆ getBarycenter()

void ElementaryEdge::getBarycenter ( double *  bary,
double &  weigh 
) const

◆ clone()

◆ initLocations()

void ElementaryEdge::initLocations ( ) const

◆ size()

INTERPKERNEL_EXPORT int INTERP_KERNEL::ElementaryEdge::size ( ) const

◆ locateFullyMySelfAbsolute()

◆ locateFullyMySelf()

◆ getEndNode()

◆ getStartNode()

◆ getCurveLength()

double INTERP_KERNEL::ElementaryEdge::getCurveLength ( ) const

◆ changeEndNodeWith()

bool ElementaryEdge::changeEndNodeWith ( Node node) const

◆ changeStartNodeWith()

◆ intresicEqual()

bool ElementaryEdge::intresicEqual ( const ElementaryEdge other) const

◆ intresicEqualDirSensitive()

bool ElementaryEdge::intresicEqualDirSensitive ( const ElementaryEdge other) const

◆ dumpInXfigFile()

void ElementaryEdge::dumpInXfigFile ( std::ostream &  stream,
int  resolution,
const Bounds &  box 
) const

◆ dumpToCout()

void ElementaryEdge::dumpToCout ( const std::map< INTERP_KERNEL::Node *, int > &  mapp,
int  index 
) const

◆ getDirection()

◆ intresincEqCoarse()

bool ElementaryEdge::intresincEqCoarse ( const Edge other) const

◆ isEqual()

bool ElementaryEdge::isEqual ( const ElementaryEdge other) const

◆ fillGlobalInfoAbs()

void ElementaryEdge::fillGlobalInfoAbs ( const std::map< INTERP_KERNEL::Node *, mcIdType > &  mapThis,
const std::map< INTERP_KERNEL::Node *, mcIdType > &  mapOther,
mcIdType  offset1,
mcIdType  offset2,
double  fact,
double  baryX,
double  baryY,
std::vector< mcIdType > &  edgesThis,
std::vector< double > &  addCoo,
std::map< INTERP_KERNEL::Node *, mcIdType >  mapAddCoo 
) const

◆ fillGlobalInfoAbs2()

void ElementaryEdge::fillGlobalInfoAbs2 ( const std::map< INTERP_KERNEL::Node *, mcIdType > &  mapThis,
const std::map< INTERP_KERNEL::Node *, mcIdType > &  mapOther,
mcIdType  offset1,
mcIdType  offset2,
double  fact,
double  baryX,
double  baryY,
short  skipStartOrEnd,
std::vector< mcIdType > &  edgesOther,
std::vector< double > &  addCoo,
std::map< INTERP_KERNEL::Node *, mcIdType > &  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().

◆ BuildEdgeFromStartEndDir()

ElementaryEdge * ElementaryEdge::BuildEdgeFromStartEndDir ( bool  direction,
INTERP_KERNEL::Node start,
INTERP_KERNEL::Node end 
)
static