class sblEdge

Defines and implements the connection between two milestones on the tree. It is composed by information on both nodes (their indexes), the distance between them and the status on collision checking for the straight-line segment that joins both milestones on the C-space.

Public Fields

[more]mpkAdaptSegmentChecker* seg_checker

Public Methods

[more] sblEdge ()
[more] sblEdge (int f, int t)
[more] sblEdge (int f, int t, double d)
[more] sblEdge (const sblEdge& e)
[more]sblEdge& operator= (const sblEdge& e)
[more]void setFrom (int f)
[more]void setTo (int t)
[more]void setDist (double d)
[more]void markSafe ()
[more]void markBad ()
[more]void setsblEdge (int f, int t, double d=0)
[more]int getFrom ()
[more]int getTo ()
[more]double getDist ()
[more]bool isSafe ()
[more]void print ()

Protected Fields

[more]int from
Reference of the node where the link starts
[more]double lambda
distance between the two milestones


Documentation

Defines and implements the connection between two milestones on the tree. It is composed by information on both nodes (their indexes), the distance between them and the status on collision checking for the straight-line segment that joins both milestones on the C-space.
o sblEdge()

o sblEdge(int f, int t)
Constructor that recieves 2 ends of the sblEdge

o sblEdge(int f, int t, double d)
Constructor that recieves 2 ends of the sblEdge and extent of edge partition

o sblEdge(const sblEdge& e)

osblEdge& operator=(const sblEdge& e)

ovoid setFrom(int f)
To set the start of the edge

ovoid setTo(int t)
To set the end of the edge

ovoid setDist(double d)
To set the edge length based on partition

ovoid markSafe()
To mark that the edge is collision free

ovoid markBad()
To mark that the edge is in collision

ovoid setsblEdge(int f, int t, double d=0)
To set a edge as per given parameters

oint getFrom()
To retrieve the start of edge

oint getTo()
To retrieve the end of edge

odouble getDist()
To retrieve the edge-length based on its partioning

obool isSafe()
To check if the segement is collision free or not

ovoid print()
To print the edge parameters

ompkAdaptSegmentChecker* seg_checker

oint from
Reference of the node where the link starts

odouble lambda
distance between the two milestones


This class has no child classes.
Friends:
class sblPrioritizeEdges

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.