World Builder
0.1.0-pre
A geodyanmic initial conditions generator
|
#include <boost/lexical_cast.hpp>
#include <world_builder/utilities.h>
#include <world_builder/assert.h>
#include <world_builder/coordinate_systems/interface.h>
Go to the source code of this file.
Namespaces | |
WorldBuilder | |
WorldBuilder::Utilities | |
Functions | |
bool | WorldBuilder::Utilities::polygon_contains_point (const std::vector< Point< 2 > > &point_list, const Point< 2 > &point) |
double | WorldBuilder::Utilities::signed_distance_to_polygon (const std::vector< Point< 2 > > &point_list, const Point< 2 > &point) |
std::array< double, 3 > | WorldBuilder::Utilities::cartesian_to_spherical_coordinates (const Point< 3 > &position) |
Point< 3 > | WorldBuilder::Utilities::spherical_to_cartesian_coordinates (const std::array< double, 3 > &scoord) |
CoordinateSystem | WorldBuilder::Utilities::string_to_coordinate_system (const std::string &coordinate_system) |
template<int dim> | |
const std::array< double, dim > | WorldBuilder::Utilities::convert_point_to_array (const Point< dim > &point_) |
double | WorldBuilder::Utilities::string_to_double (const std::string &string) |
double | WorldBuilder::Utilities::string_to_int (const std::string &string) |
double | WorldBuilder::Utilities::string_to_unsigned_int (const std::string &string) |
boost::optional< std::string > | WorldBuilder::Utilities::get_from_ptree (const ptree &tree, const std::string &path, const std::string &key, const bool required, const std::string &path_separator) |
boost::optional< std::string > | WorldBuilder::Utilities::get_from_ptree_abs (const ptree &tree, const std::string &path, const std::string &key, const bool required, const std::string &path_separator) |
std::string | WorldBuilder::Utilities::indent (int level) |
std::stringstream | WorldBuilder::Utilities::print_tree (const ptree &pt, int level) |
template const std::array< double, 2 > | WorldBuilder::Utilities::convert_point_to_array< 2 > (const Point< 2 > &point_) |
template const std::array< double, 3 > | WorldBuilder::Utilities::convert_point_to_array< 3 > (const Point< 3 > &point_) |