Vec3¶
-
class
OpenMM::Vec3¶ This class represents a three component vector. It is used for storing positions, velocities, and forces.
Methods
Vec3Create a Vec3whose elements are all 0.Vec3Create a Vec3with specified x, y, and z components.operator[]operator[]operator==operator!=operator+operator+operator+=operator-operator-operator-=operator*operator*=operator/operator/=dotcross-
double
operator[](int index) const¶
-
double &
operator[](int index)¶
-
double