xmol::trajectory::Trajectory::Slice class

Reference to trajectory slice.

Contents

Public functions

auto begin() -> Iterator
auto end() -> Sentinel
auto at(size_t i) -> Frame
auto size() const -> size_t
Total number of frames in slice.
auto n_frames() const -> size_t
Alias for size()
auto n_atoms() const -> size_t
Number of atoms in frame.