]> Shamusworld >> Repos - architektonas/blob - src/actions/actionpolylinetrim.cpp
Bugfixes related to removing Snapper class.
[architektonas] / src / actions / actionpolylinetrim.cpp
1 // actionpolylinetrim.cpp
2 //
3 // Part of the Architektonas Project
4 // by James L. Hammons
5 // Copyright (C) 2010 Underground Software
6 // See the README and GPLv2 files for licensing and warranty information
7 //
8 // JLH = James L. Hammons <jlhamm@acm.org>
9 //
10 // Who  When        What
11 // ---  ----------  -----------------------------------------------------------
12 // JLH  09/13/2010  Created this file. :-)
13 //
14
15 #include "actionpolylinetrim.h"
16
17 #include "debug.h"
18 #include "dialogfactory.h"
19 #include "graphicview.h"
20 #include "polyline.h"
21
22 ActionPolylineTrim::ActionPolylineTrim(EntityContainer & container,
23         GraphicView & graphicView):
24         ActionInterface("Draw polyline", container, graphicView)
25 {
26 //      vertex = Vector(false);
27         polyline = NULL;
28 }
29
30 ActionPolylineTrim::~ActionPolylineTrim()
31 {
32         if (polyline)
33                 delete polyline;
34 }
35
36 /*virtual*/ RS2::ActionType ActionPolylineTrim::rtti()
37 {
38         return RS2::ActionPolylineTrim;
39 }
40