12 #ifndef BALL_MOLMEC_COMMON_GRADIENT_H
13 #define BALL_MOLMEC_COMMON_GRADIENT_H
19 #ifndef BALL_MATHS_VECTOR3_H
44 :
private std::vector<Vector3>
99 Gradient& operator = (const Gradient& rhs);
107 void set(const Gradient& gradient);
127 double operator * (const Gradient& gradient) const;
136 using std::vector<
Vector3>::size;
141 const
Vector3& operator [] (
int i)
const {
return std::vector<Vector3>::operator [] (i); }
142 Vector3& operator [] (
int i) {
return std::vector<Vector3>::operator [] (i); }
150 bool isValid()
const;
210 #endif // BALL_MOLMEC_COMMON_GRADIENT_H