Public Member Functions |
| EdgeLin (std::istream &lineInXfig) |
| EdgeLin (Node *start, Node *end, bool direction=true) |
| EdgeLin (double sX, double sY, double eX, double eY) |
| ~EdgeLin () |
TypeOfFunction | getTypeOfFunc () const |
void | dumpInXfigFile (std::ostream &stream, bool direction, int resolution, const Bounds &box) const |
void | update (Node *m) |
double | getNormSq () const |
double | getAreaOfZone () const |
double | getCurveLength () const |
void | getBarycenter (double *bary) const |
void | getBarycenterOfZone (double *bary) const |
bool | isIn (double characterVal) const |
Node * | buildRepresentantOfMySelf () const |
double | getCharactValue (const Node &node) const |
double | getCharactValueBtw0And1 (const Node &node) const |
double | getDistanceToPoint (const double *pt) const |
bool | isNodeLyingOn (const double *coordOfNode) const |
bool | isLower (double val1, double val2) const |
double | getCharactValueEng (const double *node) const |
bool | doIHaveSameDirectionAs (const Edge &other) const |
void | dynCastFunction (const EdgeLin *&seg, const EdgeArcCircle *&arcSeg) const |
| Edge (Node *start, Node *end, bool direction=true) |
| Edge (double sX, double sY, double eX, double eY) |
TypeOfEdgeLocInPolygon | getLoc () const |
void | incrRef () const |
bool | decrRef () |
void | initLocs () const |
void | declareOn () const |
void | declareIn () const |
void | declareOut () const |
const Bounds & | getBounds () const |
void | fillXfigStreamForLoc (std::ostream &stream) const |
Node * | getNode (TypeOfLocInEdge where) const |
Node * | getStartNode () const |
Node * | getEndNode () const |
void | setEndNodeWithoutChange (Node *newEnd) |
void | setStartNodeWithoutChange (Node *newStart) |
bool | changeStartNodeWith (Node *otherStartNode) const |
bool | changeStartNodeWithAndKeepTrack (Node *otherStartNode, std::vector< Node * > &track) const |
bool | changeEndNodeWith (Node *otherEndNode) const |
bool | changeEndNodeWithAndKeepTrack (Node *otherEndNode, std::vector< Node * > &track) const |
void | addSubEdgeInVector (Node *start, Node *end, ComposedEdge &vec) const |
void | getNormalVector (double *vectOutput) const |
virtual void | applySimilarity (double xBary, double yBary, double dimChar) |
virtual void | unApplySimilarity (double xBary, double yBary, double dimChar) |
bool | intersectWith (const Edge *other, MergePoints &commonNode, ComposedEdge &outVal1, ComposedEdge &outVal2) const |
bool | isEqual (const Edge &other) const |
void | sortIdsAbs (const std::vector< INTERP_KERNEL::Node * > &addNodes, const std::map< INTERP_KERNEL::Node *, int > &mapp1, const std::map< INTERP_KERNEL::Node *, int > &mapp2, std::vector< int > &edgesThis) |
Protected Member Functions |
| EdgeLin () |
void | updateBounds () |
Edge * | buildEdgeLyingOnMe (Node *start, Node *end, bool direction) const |
void | fillGlobalInfoAbs (bool direction, 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 |
| Edge () |
virtual | ~Edge () |
Additional Inherited Members |
static EdgeIntersector * | BuildIntersectorWith (const Edge *e1, const Edge *e2) |
static Edge * | BuildFromXfigLine (std::istream &str) |
static Edge * | BuildEdgeFrom (Node *start, Node *end) |
template<TypeOfMod4QuadEdge type> |
static Edge * | BuildEdgeFrom (Node *start, Node *middle, Node *end) |
static bool | IntersectOverlapped (const Edge *f1, const Edge *f2, EdgeIntersector *intersector, MergePoints &commonNode, ComposedEdge &outValForF1, ComposedEdge &outValForF2) |
static void | Interpolate1DLin (const std::vector< double > &distrib1, const std::vector< double > &distrib2, std::map< int, std::map< int, double > > &result) |
static int | CombineCodes (TypeOfLocInEdge code1, TypeOfLocInEdge code2) |
static bool | Intersect (const Edge *f1, const Edge *f2, EdgeIntersector *intersector, const Bounds *whereToFind, MergePoints &commonNode, ComposedEdge &outValForF1, ComposedEdge &outValForF2) |
static bool | SplitOverlappedEdges (const Edge *e1, const Edge *e2, Node *nS, Node *nE, bool direction, int code, ComposedEdge &outVal1, ComposedEdge &outVal2) |
unsigned char | _cnt |
TypeOfEdgeLocInPolygon | _loc |
Bounds | _bounds |
Node * | _start |
Node * | _end |
static const int | OFFSET_FOR_TYPEOFLOCINEDGE = 8 |