14 #ifndef ESYS_LSMVEC3PY_H
15 #define ESYS_LSMVEC3PY_H
17 #include <boost/python.hpp>
33 Vec3Py(
double x,
double y,
double z);
39 Vec3Py(
const boost::python::object &pyOb);
45 void setItem(
int i,
double val);
65 boost::python::list
toList()
const;
67 boost::python::tuple
toTuple()
const;
Vec3Py operator+(const Vec3Py &v) const
Definition: Vec3Py.cpp:95
void setItem(int i, double val)
Definition: Vec3Py.cpp:85
double getItem(int i) const
Definition: Vec3Py.cpp:80
boost::python::list toList() const
Definition: Vec3Py.cpp:145
std::ostream & operator<<(std::ostream &oStream, const esys::lsm::Vec3Py &vec)
Definition: Vec3Py.cpp:269
int getIndex(int i) const
Definition: Vec3Py.cpp:68
void exportVec3()
Definition: Vec3Py.cpp:171
Definition: CheckPointable.cpp:16
Vec3Py rotatePy(const Vec3Py &axis, const Vec3Py &axisPt) const
Definition: Vec3Py.cpp:125
Vec3Py cross(const Vec3Py &v) const
Definition: Vec3Py.cpp:135
int len() const
Definition: Vec3Py.cpp:63
std::string toString() const
Definition: Vec3Py.cpp:140
Vec3Py()
Definition: Vec3Py.cpp:26
boost::python::tuple toTuple() const
Definition: Vec3Py.cpp:154
VEC3_INLINE Vec3 operator-() const
Definition: vec3.hpp:98
Vec3Py operator*(double s) const
Definition: Vec3Py.cpp:110
double dot(const Vec3Py &v) const
Definition: Vec3Py.cpp:130
double norm() const
Definition: Vec3Py.cpp:120
Vec3Py operator/(double s) const
Definition: Vec3Py.cpp:115