Version: 6.5.0
Public Member Functions | Static Public Member Functions | List of all members
INTERP_KERNEL::ElementaryEdge Class Reference

Public Member Functions

 ElementaryEdge (Edge *ptr, bool direction)
 ElementaryEdge (const ElementaryEdge &other)
 ~ElementaryEdge ()
bool isThereStartPoint () const
IteratorOnComposedEdgegetIterator ()
bool completed () const
void declareOn () const
void declareIn () const
void declareOut () const
TypeOfEdgeLocInPolygon getLoc () const
EdgegetPtr () const
void reverse ()
bool isNodeIn (Node *n) const
double getAreaOfZone () const
void getBarycenterOfZone (double *bary) const
void fillBounds (Bounds &output) const
void applySimilarity (double xBary, double yBary, double dimChar)
void unApplySimilarity (double xBary, double yBary, double dimChar)
void getAllNodes (std::set< Node * > &output) const
void getBarycenter (double *bary, double &weigh) const
ElementaryEdgeclone () const
void initLocations () const
int size () const
TypeOfEdgeLocInPolygon locateFullyMySelfAbsolute (const ComposedEdge &pol) const
TypeOfEdgeLocInPolygon locateFullyMySelf (const ComposedEdge &pol, TypeOfEdgeLocInPolygon precEdgeLoc) const
NodegetEndNode () const
NodegetStartNode () const
double getCurveLength () const
bool changeEndNodeWith (Node *node) const
bool changeStartNodeWith (Node *node) const
bool intresicEqual (const ElementaryEdge *other) const
bool intresicEqualDirSensitive (const ElementaryEdge *other) const
void dumpInXfigFile (std::ostream &stream, int resolution, const Bounds &box) const
bool getDirection () const
bool intresincEqCoarse (const Edge *other) const
bool isEqual (const ElementaryEdge &other) const
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
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

Static Public Member Functions

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

Constructor & Destructor Documentation

INTERP_KERNEL::ElementaryEdge::ElementaryEdge ( Edge ptr,
bool  direction 
)
ElementaryEdge::ElementaryEdge ( const ElementaryEdge other)
ElementaryEdge::~ElementaryEdge ( )

Member Function Documentation

bool INTERP_KERNEL::ElementaryEdge::isThereStartPoint ( ) const
IteratorOnComposedEdge& INTERP_KERNEL::ElementaryEdge::getIterator ( )
bool INTERP_KERNEL::ElementaryEdge::completed ( ) const
void INTERP_KERNEL::ElementaryEdge::declareOn ( ) const
void INTERP_KERNEL::ElementaryEdge::declareIn ( ) const
void INTERP_KERNEL::ElementaryEdge::declareOut ( ) const
TypeOfEdgeLocInPolygon INTERP_KERNEL::ElementaryEdge::getLoc ( ) const
Edge* INTERP_KERNEL::ElementaryEdge::getPtr ( ) const
void INTERP_KERNEL::ElementaryEdge::reverse ( )
bool ElementaryEdge::isNodeIn ( Node n) const
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
void INTERP_KERNEL::ElementaryEdge::applySimilarity ( double  xBary,
double  yBary,
double  dimChar 
)
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
ElementaryEdge * ElementaryEdge::clone ( ) const
void ElementaryEdge::initLocations ( ) const
int INTERP_KERNEL::ElementaryEdge::size ( ) const
TypeOfEdgeLocInPolygon ElementaryEdge::locateFullyMySelfAbsolute ( const ComposedEdge pol) const
TypeOfEdgeLocInPolygon ElementaryEdge::locateFullyMySelf ( const ComposedEdge pol,
TypeOfEdgeLocInPolygon  precEdgeLoc 
) const
Node * ElementaryEdge::getEndNode ( ) const
Node * ElementaryEdge::getStartNode ( ) const
double INTERP_KERNEL::ElementaryEdge::getCurveLength ( ) const
bool ElementaryEdge::changeEndNodeWith ( Node node) const
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
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::BuildEdgeFromCrudeDataArray ( bool  direction,
INTERP_KERNEL::Node start,
INTERP_KERNEL::Node end 
)
static

This method builds from descending conn of a quadratic polygon stored in crude mode (MEDCoupling). Descending conn is in FORTRAN relative mode in order to give the orientation of edge. Called by QuadraticPolygon::buildFromCrudeDataArray.

References INTERP_KERNEL::Edge::BuildEdgeFrom(), and ElementaryEdge().

Referenced by INTERP_KERNEL::QuadraticPolygon::appendSubEdgeFromCrudeDataArray(), and INTERP_KERNEL::QuadraticPolygon::buildFromCrudeDataArray2().

Copyright © 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS