Class Avogadro::Core::CoordinateSet#

template<typename T>
class Avogadro::Core::CoordinateSet : public ArraySet#

Templated class for array type containers.

This class gives us the derived templated class that stores arrays of data. of data. This class should be used to store concrete arrays, and can be cast to ArraySet when stored in generic containers.

Public Functions

inline CoordinateSet()#
inline ~CoordinateSet()#
inline void resize(Index _size)#
inline Index size() const#
inline std::vector<T> &coordinates()#
inline const std::vector<T> &coordinates() const#
inline T operator()(Index _index) const#

Returns the element at \index _index.

inline T &operator[](Index _index)#
inline const T &operator[](Index _index) const#