#include <Snapshot.h>
Definition at line 26 of file Snapshot.h.
◆ Snapshot()
RDKit::Snapshot::Snapshot |
( |
boost::shared_array< double > |
pos, |
|
|
double |
energy = 0.0 |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
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.
◆ getEnergy()
double RDKit::Snapshot::getEnergy |
( |
| ) |
const |
|
inline |
◆ getPoint2D()
- Parameters
-
pointNum | is the atom number whose coordinates will be retrieved |
- Returns
- the coordinates at pointNum as a Point2D object; requires the Trajectory dimension to be == 2
◆ getPoint3D()
- Parameters
-
pointNum | is the atom number whose coordinates will be retrieved |
- Returns
- the coordinates at pointNum as a Point3D object; requires the Trajectory dimension to be >= 2
◆ setEnergy()
◆ trajectory()
◆ Trajectory
The documentation for this class was generated from the following file: