src/linetypes/edgeline.cpp

changeset 1269
ec691d9472b3
parent 1261
5d2c9d36da9d
child 1326
69a90bd2dba2
equal deleted inserted replaced
1268:7cbdaefda950 1269:ec691d9472b3
17 */ 17 */
18 18
19 #include "edgeline.h" 19 #include "edgeline.h"
20 20
21 /* 21 /*
22 * Default-constructs this edge line.
23 */
24 LDEdgeLine::LDEdgeLine(Model* model) :
25 LDObject {model} {}
26
27 /*
28 * Constructs this edge line from two vertices. 22 * Constructs this edge line from two vertices.
29 */ 23 */
30 LDEdgeLine::LDEdgeLine (Vertex v1, Vertex v2, Model* model) : 24 LDEdgeLine::LDEdgeLine (Vertex v1, Vertex v2)
31 LDObject {model}
32 { 25 {
33 setVertex(0, v1); 26 setVertex(0, v1);
34 setVertex(1, v2); 27 setVertex(1, v2);
35 } 28 }
36 29

mercurial