summaryrefslogtreecommitdiffstats
path: root/Project/Line.h
diff options
context:
space:
mode:
authorThales1330 <thaleslima.ufu@gmail.com>2016-08-19 17:53:45 -0300
committerThales1330 <thaleslima.ufu@gmail.com>2016-08-19 17:53:45 -0300
commit474b1f94ced70e1d183a79bb6df87603982755aa (patch)
treebe4d12d44aa7cffa1cd7b712d6a736cbdf61ae02 /Project/Line.h
parentd4efffcdedbb41596eecd0882a1cef76f6afc435 (diff)
downloadPSP.git-474b1f94ced70e1d183a79bb6df87603982755aa.tar.gz
PSP.git-474b1f94ced70e1d183a79bb6df87603982755aa.tar.xz
PSP.git-474b1f94ced70e1d183a79bb6df87603982755aa.zip
Line still under implementation
Diffstat (limited to 'Project/Line.h')
-rw-r--r--Project/Line.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Project/Line.h b/Project/Line.h
index 08a2b36..9293baa 100644
--- a/Project/Line.h
+++ b/Project/Line.h
@@ -24,10 +24,12 @@ class Line : public Element
virtual void RotateNode(Element* parent);
virtual void AddPoint(wxPoint2DDouble point);
virtual bool GetContextMenu(wxMenu& menu);
+ virtual void RemoveNode(wxPoint2DDouble point);
+ virtual void AddNode(wxPoint2DDouble point);
protected:
void UpdateSwitchesPosition();
- double PointToLineDistance(wxPoint2DDouble point) const;
+ double PointToLineDistance(wxPoint2DDouble point, int* segmentNumber = NULL) const;
std::vector<wxPoint2DDouble> m_pointList;
bool m_inserted = false;
std::vector<wxPoint2DDouble> m_movePts;