Parasol Planning Library (PPL)
|
Medial axis edge structure. More...
#include <MedialAxis2D.h>
Public Member Functions | |
MedialEdge (Segment2 &_s, Site2 &_s1, Site2 &_s2, double _ss=0) | |
Constructors from line segment and parabola segment. More... | |
MedialEdge (Parabola2 &_p, Point2 &_s, Point2 &_t, Site2 &_s1, Site2 &_s2) | |
MedialEdge (Point2 &_s, Point2 &_t, Site2 &_s1, Site2 &_s2) | |
const Point2 & | GetSource () |
One line accessors. More... | |
const Point2 & | GetTarget () |
bool | IsSegment () |
void | InterpolateSegment (double _step) |
To interpolate the line segment into set of points. More... | |
Data Fields | |
vector< Point2 > | m_interpolated |
Site2 | m_site1 |
approximating edge More... | |
Site2 | m_site2 |
Witness sites. More... | |
bool | m_isLine {true} |
Flag indicating line segment/parabola. More... | |
bool | m_isFree {false} |
Flag indicating edge in free or obstacle space. More... | |
Friends | |
class | MedialAxis2D |
Medial axis edge structure.
Constructors from line segment and parabola segment.
MedialAxis2D::MedialEdge::MedialEdge | ( | Parabola2 & | _p, |
Point2 & | _s, | ||
Point2 & | _t, | ||
Site2 & | _s1, | ||
Site2 & | _s2 | ||
) |
|
inline |
One line accessors.
|
inline |
void MedialAxis2D::MedialEdge::InterpolateSegment | ( | double | _step | ) |
To interpolate the line segment into set of points.
|
inline |
|
friend |
vector<Point2> MedialAxis2D::MedialEdge::m_interpolated |
Interpolated points
bool MedialAxis2D::MedialEdge::m_isFree {false} |
Flag indicating edge in free or obstacle space.
bool MedialAxis2D::MedialEdge::m_isLine {true} |
Flag indicating line segment/parabola.
Site2 MedialAxis2D::MedialEdge::m_site1 |
approximating edge
Site2 MedialAxis2D::MedialEdge::m_site2 |
Witness sites.