Initial commit
This commit is contained in:
44
GCS/Util.h
Normal file
44
GCS/Util.h
Normal file
@@ -0,0 +1,44 @@
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2011 Konstantinos Poulios <logari81@gmail.com> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef PLANEGCS_UTIL_H
|
||||
#define PLANEGCS_UTIL_H
|
||||
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <vector>
|
||||
|
||||
|
||||
namespace GCS
|
||||
{
|
||||
using VEC_pD = std::vector<double*>;
|
||||
using VEC_D = std::vector<double>;
|
||||
using VEC_I = std::vector<int>;
|
||||
using MAP_pD_pD = std::map<double*, double*>;
|
||||
using MAP_pD_D = std::map<double*, double>;
|
||||
using MAP_pD_I = std::map<double*, int>;
|
||||
using SET_pD = std::set<double*>;
|
||||
using SET_I = std::set<int>;
|
||||
using VEC_FIXED_POINTS_COORDS = std::vector< std::pair< int, std::pair<double*, double*> > >;
|
||||
} // namespace GCS
|
||||
|
||||
#endif // PLANEGCS_UTIL_H
|
||||
Reference in New Issue
Block a user