#include <InterpKernelGeo2DComposedEdge.hxx>

Public Member Functions | |
| ComposedEdge () | |
| ComposedEdge (const ComposedEdge &other) | |
| ComposedEdge (int size) | |
| void | reverse () |
| int | recursiveSize () const |
| void | initLocations () const |
| ComposedEdge * | clone () const |
| bool | isNodeIn (Node *n) const |
| double | getArea () const |
| double | getPerimeter () const |
| double | getHydraulicDiameter () const |
| void | getBarycenter (double *bary) const |
| void | getBarycenterGeneral (double *bary) const |
| double | normalize (ComposedEdge *other, double &xBary, double &yBary) |
| void | fillBounds (Bounds &output) const |
| void | applySimilarity (double xBary, double yBary, double dimChar) |
| void | applyGlobalSimilarity (double xBary, double yBary, double dimChar) |
| void | dispatchPerimeter (double &partConsidered) const |
| void | dispatchPerimeterExcl (double &partConsidered, double &commonPart) const |
| double | dispatchPerimeterAdv (const ComposedEdge &father, std::vector< double > &result) const |
| void | getAllNodes (std::set< Node * > &output) const |
| void | getBarycenter (double *bary, double &weigh) const |
| bool | completed () const |
| void | setValueAt (int i, Edge *e, bool direction=true) |
| double | getCommonLengthWith (const ComposedEdge &other) const |
| void | clear () |
| bool | empty () const |
| ElementaryEdge * | front () const |
| ElementaryEdge * | back () const |
| void | resize (int i) |
| void | pushBack (Edge *edge, bool direction=true) |
| void | pushBack (ElementaryEdge *elem) |
| void | pushBack (ComposedEdge *elem) |
| int | size () const |
| ElementaryEdge * | operator[] (int i) const |
| Node * | getEndNode () const |
| Node * | getStartNode () const |
| bool | changeEndNodeWith (Node *node) const |
| bool | changeStartNodeWith (Node *node) const |
| void | dumpInXfigFile (std::ostream &stream, int resolution, const Bounds &box) const |
| bool | isInOrOut (Node *nodeToTest) const |
| bool | getDirection () const |
| bool | intresincEqCoarse (const Edge *other) const |
Static Public Member Functions | |
| static void | Delete (ComposedEdge *pt) |
| static void | SoftDelete (ComposedEdge *pt) |
Protected Member Functions | |
| ~ComposedEdge () | |
Protected Attributes | |
| std::list< ElementaryEdge * > | _sub_edges |
Private Member Functions | |
| std::list< ElementaryEdge * > * | getListBehind () |
| void | clearAll (std::list< ElementaryEdge * >::iterator startToDel) |
Friends | |
| class | IteratorOnComposedEdge |
| INTERP_KERNEL.ComposedEdge.ComposedEdge | ( | ) |
| ComposedEdge::ComposedEdge | ( | const ComposedEdge & | other | ) |
References INTERP_KERNEL.ComposedEdge._sub_edges.
| INTERP_KERNEL.ComposedEdge.ComposedEdge | ( | int | size | ) |
| ComposedEdge::~ComposedEdge | ( | ) | [protected] |
| static void INTERP_KERNEL.ComposedEdge.Delete | ( | ComposedEdge * | pt | ) | [static] |
| static void INTERP_KERNEL.ComposedEdge.SoftDelete | ( | ComposedEdge * | pt | ) | [static] |
References INTERP_KERNEL.ComposedEdge._sub_edges.
| void ComposedEdge::reverse | ( | ) |
References INTERP_KERNEL.ComposedEdge._sub_edges.
| int INTERP_KERNEL.ComposedEdge.recursiveSize | ( | ) | const |
| void ComposedEdge::initLocations | ( | ) | const |
References INTERP_KERNEL.ComposedEdge._sub_edges.
| ComposedEdge * ComposedEdge::clone | ( | ) | const |
References INTERP_KERNEL.ComposedEdge.ComposedEdge().
| bool ComposedEdge::isNodeIn | ( | Node * | n | ) | const |
References INTERP_KERNEL.ComposedEdge._sub_edges, and testMEDMEM.ret.
| double ComposedEdge::getArea | ( | ) | const |
This method computes the area of 'this'. By definition :
Thanks to Green's theorem we have.
Where
is computed virtually by INTERP_KERNEL.Edge.getAreaOfZone with following formula :
References INTERP_KERNEL.ComposedEdge._sub_edges, and testMEDMEM.ret.
| double ComposedEdge::getPerimeter | ( | ) | const |
References INTERP_KERNEL.ComposedEdge._sub_edges, and testMEDMEM.ret.
| double ComposedEdge::getHydraulicDiameter | ( | ) | const |
| void ComposedEdge::getBarycenter | ( | double * | bary | ) | const |
This method computes barycenter of 'this' by returning xG in bary[0] and yG in bary[1]. By definition :
Thanks to Green's theorem we have.
Area is computed using the same principle than described in INTERP_KERNEL.ComposedEdge.getArea method.
and
are computed virtually with INTERP_KERNEL.Edge.getBarycenterOfZone.
References INTERP_KERNEL.ComposedEdge._sub_edges, and med_test1.area.
| void ComposedEdge::getBarycenterGeneral | ( | double * | bary | ) | const |
Idem ComposedEdge.getBarycenter except that the special case where _sub_edges==1 is dealt here.
References INTERP_KERNEL.ComposedEdge._sub_edges, and INTERP_KERNEL.ComposedEdge.getBarycenter().
| double ComposedEdge::normalize | ( | ComposedEdge * | other, |
| double & | xBary, | ||
| double & | yBary | ||
| ) |
| void ComposedEdge::fillBounds | ( | Bounds & | output | ) | const |
References INTERP_KERNEL.ComposedEdge._sub_edges.
WARNING : applies similarity ONLY on edges without any change on Nodes. To perform a global similarity call applyGlobalSimilarity.
References INTERP_KERNEL.ComposedEdge._sub_edges.
Perform Similarity transformation on all elements of this Nodes and Edges.
References INTERP_KERNEL.ComposedEdge._sub_edges, and INTERP_KERNEL.ComposedEdge.getAllNodes().
| void ComposedEdge::dispatchPerimeter | ( | double & | partConsidered | ) | const |
This method append to param 'partConsidered' the part of length of subedges IN or ON.
| partConsidered | INOUT param. |
References INTERP_KERNEL.ComposedEdge._sub_edges, INTERP_KERNEL.FULL_IN_1, and INTERP_KERNEL.FULL_ON_1.
Idem dispatchPerimeterExcl except that when a subedge is declared as ON this subedge is counted in commonPart.
References INTERP_KERNEL.ComposedEdge._sub_edges, INTERP_KERNEL.FULL_IN_1, and INTERP_KERNEL.FULL_ON_1.
| double INTERP_KERNEL.ComposedEdge.dispatchPerimeterAdv | ( | const ComposedEdge & | father, |
| std::vector< double > & | result | ||
| ) | const |
| void ComposedEdge::getAllNodes | ( | std::set< Node * > & | output | ) | const |
References INTERP_KERNEL.ComposedEdge._sub_edges.
References INTERP_KERNEL.ComposedEdge._sub_edges.
| bool INTERP_KERNEL.ComposedEdge.completed | ( | ) | const |
References INTERP_KERNEL.ComposedEdge._sub_edges, and Med_Gen_test.it.
| double ComposedEdge::getCommonLengthWith | ( | const ComposedEdge & | other | ) | const |
| void ComposedEdge::clear | ( | ) |
| bool INTERP_KERNEL.ComposedEdge.empty | ( | ) | const |
| ElementaryEdge* INTERP_KERNEL.ComposedEdge.front | ( | ) | const |
| ElementaryEdge* INTERP_KERNEL.ComposedEdge.back | ( | ) | const |
| void INTERP_KERNEL.ComposedEdge.resize | ( | int | i | ) |
| void ComposedEdge::pushBack | ( | Edge * | edge, |
| bool | direction = true |
||
| ) |
References INTERP_KERNEL.ComposedEdge._sub_edges.
| void ComposedEdge::pushBack | ( | ElementaryEdge * | elem | ) |
References INTERP_KERNEL.ComposedEdge._sub_edges.
| void ComposedEdge::pushBack | ( | ComposedEdge * | elem | ) |
| int INTERP_KERNEL.ComposedEdge.size | ( | ) | const |
| ElementaryEdge * ComposedEdge::operator[] | ( | int | i | ) | const |
References INTERP_KERNEL.ComposedEdge._sub_edges.
| Node * ComposedEdge::getEndNode | ( | ) | const |
References INTERP_KERNEL.ComposedEdge._sub_edges.
| Node * ComposedEdge::getStartNode | ( | ) | const |
References INTERP_KERNEL.ComposedEdge._sub_edges.
| bool ComposedEdge::changeEndNodeWith | ( | Node * | node | ) | const |
References INTERP_KERNEL.ComposedEdge._sub_edges.
| bool ComposedEdge::changeStartNodeWith | ( | Node * | node | ) | const |
References INTERP_KERNEL.ComposedEdge._sub_edges.
| void ComposedEdge::dumpInXfigFile | ( | std::ostream & | stream, |
| int | resolution, | ||
| const Bounds & | box | ||
| ) | const |
Reimplemented in INTERP_KERNEL.QuadraticPolygon.
References INTERP_KERNEL.ComposedEdge._sub_edges.
| bool ComposedEdge::isInOrOut | ( | Node * | nodeToTest | ) | const |
References INTERP_KERNEL.ComposedEdge._sub_edges, testGaussLocalization.b, INTERP_KERNEL.Edge.buildIntersectorWith(), INTERP_KERNEL.Edge.decrRef(), TestMedCorba4.e1, INTERP_KERNEL.ComposedEdge.fillBounds(), INTERP_KERNEL.ComposedEdge.getAllNodes(), INTERP_KERNEL.EdgeLin.getCharactValue(), INTERP_KERNEL.ElementaryEdge.getPtr(), INTERP_KERNEL.Node.getSlope(), INTERP_KERNEL.Bounds.nearlyWhere(), nodes, INTERP_KERNEL.ON_1, INTERP_KERNEL.OUT, INTERP_KERNEL.Bounds.prepareForAggregation(), and testMEDMEM.ret.
| bool ComposedEdge::getDirection | ( | ) | const |
| bool ComposedEdge::intresincEqCoarse | ( | const Edge * | other | ) | const |
References INTERP_KERNEL.ComposedEdge._sub_edges.
| std::list<ElementaryEdge *>* INTERP_KERNEL.ComposedEdge.getListBehind | ( | ) | [private] |
| void ComposedEdge::clearAll | ( | std::list< ElementaryEdge * >::iterator | startToDel | ) | [private] |
References INTERP_KERNEL.ComposedEdge._sub_edges.
friend class IteratorOnComposedEdge [friend] |
std::list<ElementaryEdge *> INTERP_KERNEL.ComposedEdge._sub_edges [protected] |