|
RNAMake
|
#include <atom.h>
Public Member Functions | |
| Atom (String const &name, Point const &coords) | |
| Atom (String const &s) | |
| Atom (Atom const &a) | |
| String | to_str () |
| String | to_pdb_str (int) |
| String const & | name () const |
| Point const | coords () const |
| void | coords (Point const &ncoords) |
| void | name (String const &nname) |
Stores atomic information from pdb file, design is to be extremely lightweight only storing the atom name and coordinates.
Example Usage:
|
inline |
Standard constructor for Atom object.
| name | name of atom |
| coords | 3d coordinates of atom's position |
|
inline |
|
inline |
Copy constructor
| a | atom object to from |
|
inline |
Accessor for coords_
|
inline |
Setter for coords_
|
inline |
Accessor for name_
|
inline |
Setter for name_
| String Atom::to_pdb_str | ( | int | acount | ) |
Strigifies atom into PDB format
| acount | the number of the atom, default=1 |
| String Atom::to_str | ( | ) |
Strigifies atom object
1.8.10