![]() |
RDKit
Open-source cheminformatics and machine learning.
|
#include <Snapshot.h>
Public Member Functions | |
| Snapshot (boost::shared_array< double > pos, double energy=0.0) | |
| Constructor. | |
| const Trajectory * | trajectory () const |
| RDGeom::Point2D | getPoint2D (unsigned int pointNum) const |
| RDGeom::Point3D | getPoint3D (unsigned int pointNum) const |
| double | getEnergy () const |
| void | setEnergy (double energy) |
| Sets the energy for this Snapshot. | |
Friends | |
| class | Trajectory |
Definition at line 26 of file Snapshot.h.
|
inline |
Constructor.
| pos | is a pointer to an array of (numPoints * dimension) doubles; numPoints and dimension must match the Trajectory which is going to contain this Snapshot |
| energy | is the energy associated with this set of coordinates |
Definition at line 36 of file Snapshot.h.
|
inline |
Definition at line 53 of file Snapshot.h.
| RDGeom::Point2D RDKit::Snapshot::getPoint2D | ( | unsigned int | pointNum | ) | const |
| pointNum | is the atom number whose coordinates will be retrieved |
| RDGeom::Point3D RDKit::Snapshot::getPoint3D | ( | unsigned int | pointNum | ) | const |
| pointNum | is the atom number whose coordinates will be retrieved |
|
inline |
Sets the energy for this Snapshot.
| energy | the energy value assigned to this Snapshot |
Definition at line 57 of file Snapshot.h.
|
inline |
Definition at line 40 of file Snapshot.h.
References Trajectory.
|
friend |
Definition at line 27 of file Snapshot.h.
References Trajectory.
Referenced by Trajectory, and trajectory().