World Builder  1.1.0-pre
A geodynamic initial conditions generator
main.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2020 by the authors of the World Builder code.
3 
4  This file is part of the World Builder.
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 2 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 
16  You should have received a copy of the GNU Lesser General Public License
17  along with this program. If not, see <https://www.gnu.org/licenses/>.
18 */
19 
20 #ifndef WORLD_BUILDER_VISUALIZATION_MAIN_H_
21 #define WORLD_BUILDER_VISUALIZATION_MAIN_H_
22 
23 #include <vector>
24 #include <string>
25 
26 void project_on_sphere(double, double &, double &, double &);
27 
28 void lay_points(double x1, double y1, double z1,
29  double x2, double y2, double z2,
30  double x3, double y3, double z3,
31  double x4, double y4, double z4,
32  std::vector<double> &x, std::vector<double> &y, std::vector<double> &z,
33  std::vector<bool> &hull, size_t level);
34 
35 std::vector<std::string> get_command_line_options_vector(int argc, char **argv);
36 
37 bool find_command_line_option(char **begin, char **end, const std::string &option);
38 
39 #endif
bool find_command_line_option(char **begin, char **end, const std::string &option)
Definition: main.cc:49
std::vector< std::string > get_command_line_options_vector(int argc, char **argv)
Definition: main.cc:277
void lay_points(double x1, double y1, double z1, double x2, double y2, double z2, double x3, double y3, double z3, double x4, double y4, double z4, std::vector< double > &x, std::vector< double > &y, std::vector< double > &z, std::vector< bool > &hull, size_t level)
Definition: main.cc:233
void project_on_sphere(double, double &, double &, double &)
Definition: main.cc:216