12#ifndef __RD_SNAPSHOT_H__
13#define __RD_SNAPSHOT_H__
16#include <boost/shared_array.hpp>
36 Snapshot(boost::shared_array<double> pos,
double energy = 0.0)
37 : d_trajectory(nullptr), d_energy(energy), d_pos(std::move(pos)) {}
57 void setEnergy(
double energy) { d_energy = energy; }
65 boost::shared_array<double> d_pos;
Snapshot(boost::shared_array< double > pos, double energy=0.0)
Constructor.
const Trajectory * trajectory() const
void setEnergy(double energy)
Sets the energy for this Snapshot.
RDGeom::Point3D getPoint3D(unsigned int pointNum) const
RDGeom::Point2D getPoint2D(unsigned int pointNum) const
#define RDKIT_TRAJECTORY_EXPORT
std::vector< Snapshot > SnapshotVect