|
bool | geomtools::position_is_in (double position_, double start_position_, double delta_position_, double tolerance_=0.0, bool bounds_excluded_=false) |
| Check if a position is inside a position interval. More...
|
|
bool | geomtools::angle_is_in (double angle_, double start_angle_, double delta_angle_, double angular_tolerance_=0.0, bool bounds_excluded_=false) |
| Check if an angle is inside an angular interval. More...
|
|
void | geomtools::print_xy (std::ostream &out_, const vector_2d &p_, bool endl_=true) |
|
std::string | geomtools::to_xy (const vector_2d &p_) |
|
std::string | geomtools::vector_2d_to_xy (const vector_2d &p_) |
|
void | geomtools::print_xy_stdout (const vector_2d &p_) |
|
void | geomtools::print_xy_stderr (const vector_2d &p_) |
|
void | geomtools::print_xyz (std::ostream &out_, const vector_3d &p_, bool endl_=true) |
|
void | geomtools::print (std::ostream &out_, const vector_3d &p_) |
|
std::string | geomtools::to_xyz (const vector_3d &p_) |
|
std::string | geomtools::vector_3d_to_xyz (const vector_3d &p_) |
|
void | geomtools::print_xyz_stdout (const vector_3d &p_) |
|
void | geomtools::print_xyz_stderr (const vector_3d &p_) |
|
void | geomtools::set_vector_2d (const std::vector< double > &source_, vector_2d &target_) |
|
void | geomtools::set_vector_3d (const std::vector< double > &source_, vector_3d &target_) |
|
bool | geomtools::parse (std::istream &in_, vector_3d &position_, bool nothing_more_=false) |
| Parse a vector 3D object from an input stream. More...
|
|
bool | geomtools::parse (const std::string &token_, vector_3d &position_) |
| Parse a vector 3D object from an input string. More...
|
|
void | geomtools::print_xy (std::ostream &out_, const basic_polyline_2d &p_, bool endl_=true) |
|
std::string | geomtools::to_xy (const basic_polyline_2d &p_) |
|
std::string | geomtools::basic_polyline_2d_to_xy (const basic_polyline_2d &p_) |
|
void | geomtools::print_xy_stdout (const basic_polyline_2d &p_) |
|
void | geomtools::print_xy_stderr (const basic_polyline_2d &p_) |
|
void | geomtools::print_xyz (std::ostream &out_, const basic_polyline_3d &p_, bool endl_=true) |
|
std::string | geomtools::to_xyz (const basic_polyline_3d &p_) |
|
std::string | geomtools::basic_polyline_3d_to_xyz (const basic_polyline_3d &p_) |
|
void | geomtools::print_xyz_stdout (const basic_polyline_3d &p_) |
|
void | geomtools::print_xyz_stderr (const basic_polyline_3d &p_) |
|
direction_type | geomtools::get_direction_from_label (const std::string &) |
|
std::string | geomtools::get_direction_label (direction_type) |
|
std::string | geomtools::shape_domain_flag_label (shape_domain_flags_type flag_) |
|
void | geomtools::create (rotation_3d &rot_, double angle0_, double angle1_, double angle2_, euler_angles_type et_) |
|
void | geomtools::create_zyz (rotation_3d &rot_, double phi_, double theta_, double delta_) |
|
void | geomtools::create (rotation_3d &rot_, double phi_, double theta_, double delta_) |
|
void | geomtools::create_zxz (rotation_3d &rot_, double phi_, double theta_, double psi_) |
| Create a rotation using ZXZ Euler angles. More...
|
|
void | geomtools::create_xyz (rotation_3d &rot_, double phi_, double theta_, double psi_) |
| Create a rotation using XYZ Euler angles. More...
|
|
void | geomtools::create_rotation_3d (rotation_3d &rot_, double phi_, double theta_, double delta_) |
|
void | geomtools::create_rotation_from_zyz_euler_angles (rotation_3d &rot_, double phi_, double theta_, double delta_) |
|
void | geomtools::create_rotation (rotation_3d &rot_, double phi_, double theta_, double delta_) |
|
bool | geomtools::is_identity (const rotation_3d &rot_) |
| Check if a rotation is the identity. More...
|
|
void | geomtools::extract_xyz_euler_angle_from_rotation (const rotation_3d &rot_, double &a_, double &b_, double &c_) |
| Extract the XYZ Euler angles from a rotation. More...
|
|
void | geomtools::extract_zyz_euler_angle_from_rotation (const rotation_3d &rot_, double &a_, double &b_, double &c_) |
| Extract the ZYZ Euler angles from a rotation. More...
|
|
bool | geomtools::check_special_rotation_angle (int) |
|
double | geomtools::get_special_rotation_angle (int) |
|
int | geomtools::get_special_rotation_angle_from_label (const std::string &) |
|
std::string | geomtools::get_special_rotation_angle_label (int) |
|
bool | geomtools::check_rotation_axis (int) |
|
int | geomtools::get_rotation_axis_from_label (const std::string &) |
|
std::string | geomtools::get_rotation_label (int) |
|
void | geomtools::create_rotation_from_axis (rotation_3d &rot_, int axis_, double angle_) |
|
void | geomtools::create_rotation (rotation_3d &rot_, int axis_, double angle_) |
|
void | geomtools::create_rotation (rotation_3d &rot_, int axis_, int special_angle_) |
|
void | geomtools::create_rotation_from (rotation_3d &rot_, const std::string &) |
|
void | geomtools::reset (rotation_3d &rot_) |
| Invalidate a rotation 3D object. More...
|
|
void | geomtools::reset_rotation_3d (rotation_3d &rot_) |
| Invalidate a rotation 3D object. More...
|
|
void | geomtools::tree_dump (const rotation_3d &rot_, std::ostream &out_, const std::string &title_="", const std::string &indent_="") |
| Smart print for rotation 3D object. More...
|
|
void | geomtools::invalidate (rotation_3d &rot_) |
| Invalidate a rotation 3D object. More...
|
|
void | geomtools::rectify (rotation_3d &rot_) |
| Rectify a rotation 3D object. More...
|
|
void | geomtools::invalidate_rotation_3d (rotation_3d &rot_) |
| Invalidate a rotation 3D object. More...
|
|
bool | geomtools::is_valid (const rotation_3d &rot_) |
| Check if a rotation 3D object is valid. More...
|
|
bool | geomtools::is_valid_rotation_3d (const rotation_3d &rot_) |
| Check if a rotation 3D object is valid. More...
|
|
void | geomtools::create (vector_3d &, double x_, double y_, double z_) |
| Create/set coordinates of a vector 3D object (cartesian) More...
|
|
void | geomtools::create_xyz (vector_3d &, double x_, double y_, double z_) |
| Create/set coordinates of a vector 3D object (cartesian) More...
|
|
void | geomtools::create_polar (vector_3d &, double r_, double theta_, double z_) |
| Create/set coordinates of a vector 3D object (polar) More...
|
|
void | geomtools::create_spherical (vector_3d &, double r_, double phi_, double theta_) |
| Create/set coordinates of a vector 3D object (spherical) More...
|
|
void | geomtools::set (vector_3d &vec_, double x_, double y_, double z_) |
| Set coordinates of a vector 3D object (cartesian) More...
|
|
void | geomtools::set_r_theta_phi (vector_3d &vec_, double r_, double theta_, double phi_) |
| Set coordinates of a vector 3D object (spherical) More...
|
|
void | geomtools::set_rho_phi_z (vector_3d &vec_, double rho_, double phi_, double z_) |
| Set coordinates of a vector 3D object (polar) More...
|
|
void | geomtools::zero (vector_3d &vec_) |
| Zero a vector 3D object. More...
|
|
const vector_3d & | geomtools::invalid_vector_3d () |
| Return an invalid vector 3D object (static singleton) More...
|
|
void | geomtools::invalidate (vector_3d &vec_) |
| Invalidate a vector 3D object. More...
|
|
void | geomtools::invalidate_vector_3d (vector_3d &vec_) |
| Invalidate a vector 3D object. More...
|
|
bool | geomtools::is_valid (const vector_3d &vec_) |
| Check if a vector 3D object is valid. More...
|
|
bool | geomtools::is_valid_vector_3d (const vector_3d &vec_) |
| Check if a vector 3D object is valid. More...
|
|
bool | geomtools::are_near (const vector_3d &vec1_, const vector_3d &vec2_, double tolerance_=constants::DEFAULT_TOLERANCE) |
| Check if two vector 3D objects are close to each other given a tolerance. More...
|
|
bool | geomtools::are_near_vector_3d (const vector_3d &vec1_, const vector_3d &vec2_, double tolerance_) |
| Check if two vector 3D objects are close to each other given a tolerance. More...
|
|
void | geomtools::set (vector_2d &vec_, double x_, double y_) |
| Set coordinates of a vector 2D object (cartesian) More...
|
|
void | geomtools::set_r_phi (vector_2d &vec_, double r_, double phi_) |
| Set coordinates of a vector 2D object (polar) More...
|
|
void | geomtools::zero (vector_2d &vec_) |
| Zero a vector 2D object. More...
|
|
void | geomtools::invalidate (vector_2d &vec_) |
| Invalidate a vector 2D object. More...
|
|
void | geomtools::invalidate_vector_2d (vector_2d &vec_) |
| Invalidate a vector 2D object. More...
|
|
const vector_2d & | geomtools::invalid_vector_2d () |
| Return an invalid vector 2D object (static singleton) More...
|
|
bool | geomtools::is_valid (const vector_2d &vec_) |
| Check if a vector 2D object is valid. More...
|
|
bool | geomtools::is_valid_vector_2d (const vector_2d &vec_) |
| Check if a vector 2D object is valid. More...
|
|
void | geomtools::vector_2d_to_vector_3d (const vector_2d &v2d_, vector_3d &v3d_) |
| Convert a vector 2D object to a vector 3D object (export x and y coordinates, setting z to zero) More...
|
|
void | geomtools::vector_3d_to_vector_2d (const vector_3d &v3d_, vector_2d &v2d_) |
| Convert a vector 3D object to a vector 2D object (export only x and y coordinates) More...
|
|
void | geomtools::make_phi_theta (vector_3d &vec_, double phi_, double theta_) |
| Create a vector 3D object from spherical angular coordinates (magnitude is set to 1) More...
|
|
template<class ran_func > |
void | geomtools::randomize_direction (ran_func &ran_, vector_3d &ran_dir_) |
| Isotropically randomize the direction of an unit vector. More...
|
|
template<class ran_func > |
vector_3d | geomtools::randomize_direction (ran_func &ran_) |
| Isotropically randomize the direction of an unit vector. More...
|
|
template<class ran_func > |
void | geomtools::randomize_orthogonal_direction (ran_func &ran_, const vector_3d &dir_, vector_3d &ran_dir_) |
| Isotropically randomize the direction of an unit vector orthogonal to a given direction. More...
|
|
template<class ran_func > |
vector_3d | geomtools::randomize_orthogonal_direction (ran_func &ran_, const vector_3d &ref_dir_) |
| Isotropically randomize the direction of an unit vector orthogonal to a given direction. More...
|
|
void | geomtools::compute_barycenter (const std::vector< vector_3d > &points_, vector_3d &barycenter_) |
|
vector_3d | geomtools::compute_barycenter (const std::vector< vector_3d > &points_) |
|
void | geomtools::compute_weighted_barycenter (const std::vector< vector_3d > &points_, const std::vector< double > &weights_, vector_3d &weighted_barycenter_) |
|
vector_3d | geomtools::compute_weighted_barycenter (const std::vector< vector_3d > &points_, const std::vector< double > &weights_) |
|
template<class Archive > |
void | boost::serialization::save (Archive &a_ar, const geomtools::vector_3d &v_, const unsigned int a_version) |
|
template<class Archive > |
void | boost::serialization::load (Archive &a_ar, geomtools::vector_3d &v_, const unsigned int a_version) |
|
template<class Archive > |
void | boost::serialization::serialize (Archive &a_ar, geomtools::vector_3d &v_, const unsigned int a_version) |
|
template<class Archive > |
void | boost::serialization::save (Archive &a_ar, const geomtools::vector_2d &v_, const unsigned int a_version) |
| Boost serialization save method for vector 2D objects. More...
|
|
template<class Archive > |
void | boost::serialization::load (Archive &a_ar, geomtools::vector_2d &v_, const unsigned int a_version) |
| Boost serialization load method for vector 2D objects. More...
|
|
template<class Archive > |
void | boost::serialization::serialize (Archive &a_ar, geomtools::vector_2d &v_, const unsigned int a_version) |
| Boost serialization general method for vector 2D objects. More...
|
|
template<class Archive > |
void | boost::serialization::save (Archive &a_ar, const geomtools::rotation_3d &r_, const unsigned int a_version) |
| Boost serialization save method for vector 3D objects. More...
|
|
template<class Archive > |
void | boost::serialization::load (Archive &a_ar, geomtools::rotation_3d &a_rotation, const unsigned int a_version) |
| Boost serialization load method for vector 3D objects. More...
|
|
template<class Archive > |
void | boost::serialization::serialize (Archive &a_ar, geomtools::rotation_3d &a_rotation, const unsigned int a_version) |
| Boost serialization general method for vector 3D objects. More...
|
|