summaryrefslogtreecommitdiffstats
path: root/Project/Line.h
diff options
context:
space:
mode:
authorThales1330 <thaleslima.ufu@gmail.com>2016-09-08 18:54:52 -0300
committerThales1330 <thaleslima.ufu@gmail.com>2016-09-08 18:54:52 -0300
commit122d124108384bb4579b6d96956b931d7221d3c1 (patch)
tree72a94cb2d317d37665dac1905d3d3660c48100fb /Project/Line.h
parentfb8a409d7e35735afc9d28bfc0d7b49974f0d3a2 (diff)
downloadPSP.git-122d124108384bb4579b6d96956b931d7221d3c1.tar.gz
PSP.git-122d124108384bb4579b6d96956b931d7221d3c1.tar.xz
PSP.git-122d124108384bb4579b6d96956b931d7221d3c1.zip
Fit implemented
Diffstat (limited to 'Project/Line.h')
-rw-r--r--Project/Line.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Project/Line.h b/Project/Line.h
index d2b3547..edf4d07 100644
--- a/Project/Line.h
+++ b/Project/Line.h
@@ -3,6 +3,8 @@
#include "Branch.h"
+#include <wx/log.h>
+
class Line : public Branch
{
public:
@@ -22,6 +24,7 @@ class Line : public Branch
virtual bool GetContextMenu(wxMenu& menu);
virtual void RemoveNode(wxPoint2DDouble point);
virtual void AddNode(wxPoint2DDouble point);
+ virtual void CalculateBoundaries(wxPoint2DDouble& leftUp, wxPoint2DDouble& rightBottom) const;
protected:
double PointToLineDistance(wxPoint2DDouble point, int* segmentNumber = NULL) const;