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 |