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 #ifndef VERTEX_H
20 #define VERTEX_H
21 #include "SavitarExport.h"
22 
23 namespace Savitar
24 {
25     class SAVITAR_EXPORT Vertex
26     {
27     public:
28         /**
29          * A vertex is a point in 3D space.
30          */
31         Vertex(float x, float y, float z);
32         virtual ~Vertex();
33 
34         float getX();
35         float getY();
36         float getZ();
37     protected:
38         float x;
39         float y;
40         float z;
41     };
42 }
43 
44 #endif