2014-12-26 21:21:58 +08:00
|
|
|
#ifndef LINE_H
|
|
|
|
|
#define LINE_H
|
2014-12-28 16:40:57 +08:00
|
|
|
#include <QObject>
|
2014-12-26 21:21:58 +08:00
|
|
|
#include <QPair>
|
|
|
|
|
#include "branch.h"
|
|
|
|
|
#include "./../aclinesegment.h"
|
|
|
|
|
class Line:public Branch
|
|
|
|
|
{
|
|
|
|
|
public:
|
2014-12-28 16:40:57 +08:00
|
|
|
Line(const QPair<QString, QString> &fromTo, ACLineSegment* ac,QObject* parent=0);
|
2015-03-09 16:26:47 +08:00
|
|
|
void re_extract();
|
2015-01-20 15:56:30 +08:00
|
|
|
double length;
|
2015-01-20 21:24:33 +08:00
|
|
|
ACLineSegment *ac;
|
2015-03-09 11:19:54 +08:00
|
|
|
|
2014-12-26 21:21:58 +08:00
|
|
|
protected:
|
|
|
|
|
virtual void extract();
|
|
|
|
|
private:
|
2015-01-20 21:24:33 +08:00
|
|
|
|
2014-12-26 21:21:58 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // LINE_H
|