Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
INTERP_KERNEL::ElementaryEdge Class Reference

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 NodegetEndNode () const
 
INTERPKERNEL_EXPORT
IteratorOnComposedEdge
getIterator ()
 
INTERPKERNEL_EXPORT
TypeOfEdgeLocInPolygon 
getLoc () const
 
INTERPKERNEL_EXPORT EdgegetPtr () const
 
INTERPKERNEL_EXPORT NodegetStartNode () 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)
 

Constructor & Destructor Documentation

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

Referenced by BuildEdgeFromStartEndDir(), and clone().

ElementaryEdge::ElementaryEdge ( const ElementaryEdge other)
ElementaryEdge::~ElementaryEdge ( )

Member Function Documentation

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
INTERPKERNEL_EXPORT void INTERP_KERNEL::ElementaryEdge::declareIn ( ) const
INTERPKERNEL_EXPORT void INTERP_KERNEL::ElementaryEdge::declareOut ( ) const
INTERPKERNEL_EXPORT void INTERP_KERNEL::ElementaryEdge::reverse ( )
bool ElementaryEdge::isNodeIn ( Node n) const
INTERPKERNEL_EXPORT double INTERP_KERNEL::ElementaryEdge::getAreaOfZone ( ) const
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
INTERPKERNEL_EXPORT void INTERP_KERNEL::ElementaryEdge::applySimilarity ( double  xBary,
double  yBary,
double  dimChar 
)
INTERPKERNEL_EXPORT void INTERP_KERNEL::ElementaryEdge::unApplySimilarity ( double  xBary,
double  yBary,
double  dimChar 
)
void ElementaryEdge::getAllNodes ( std::set< Node * > &  output) const
void ElementaryEdge::getBarycenter ( double *  bary,
double &  weigh 
) const
void ElementaryEdge::initLocations ( ) const
INTERPKERNEL_EXPORT int INTERP_KERNEL::ElementaryEdge::size ( ) const
INTERPKERNEL_EXPORT double INTERP_KERNEL::ElementaryEdge::getCurveLength ( ) const
bool ElementaryEdge::changeEndNodeWith ( 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
INTERPKERNEL_EXPORT bool INTERP_KERNEL::ElementaryEdge::getDirection ( ) const
bool ElementaryEdge::intresincEqCoarse ( const Edge other) const
bool ElementaryEdge::isEqual ( const ElementaryEdge other) const
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
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().

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