#include <MrepSkeleton2d.hpp>
Public Member Functions | |
MrepSkeleton2d (const Position2d &position, size_t n_atoms=0, size_t n_connections=0) | |
ublas::fixed_vector< float_t, 2 > | atom_center (size_t atom_index) const |
Get the global coordinates of the center of the atom atom_index . | |
void | set_atom_center (size_t atom_index, const ublas::fixed_vector< float_t, 2 > ¢er) |
Set the global coordinates of the center of the atom atom_index . | |
void | set_atom_radius (size_t atom_index, float_t radius) |
Set the radius the atom atom_index . | |
void | get_geometry (std::vector< ublas::fixed_vector< float_t, 2 > > &atom_centers, std::vector< float_t > &atom_radii) const |
void | set_geometry (const std::vector< ublas::fixed_vector< float_t, 2 > > &atom_centers, const std::vector< float_t > &atom_radii) |
float_t | atom_radius (size_t atom_index) const |
Get the radius of the atom atom_index . | |
float_t | compute_tangent_angle (size_t atom_1, size_t atom_2) const |