1 /*
2  * This file is part of libSavitar
3  *
4  * Copyright (C) 2017 Ultimaker b.v. <j.vankessel@ultimaker.com>
5  *
6  * This program is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU Lesser General Public License as published
8  * by the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU Lesser General Public License for more details.
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 #include "Vertex.h"
20 
21 using namespace Savitar;
22 
Vertex(float x,float y,float z)23 Vertex::Vertex(float x, float y, float z)
24 {
25     this->x = x;
26     this->y = y;
27     this->z = z;
28 }
29 
~Vertex()30 Vertex::~Vertex()
31 {
32 
33 }
34 
getX()35 float Vertex::getX()
36 {
37     return this->x;
38 }
39 
getY()40 float Vertex::getY()
41 {
42     return this->y;
43 }
44 
getZ()45 float Vertex::getZ()
46 {
47     return this->z;
48 }
49 
50 
51 
52