Searched defs:PathVector (Results 1 – 2 of 2) sorted by relevance
188 struct PathVector { struct189 float m_x;190 float m_y;192 PathVector() : m_x(0), m_y(0) {} in PathVector() argument193 PathVector(float x, float y) : m_x(x), m_y(y) {} in PathVector() argument194 double angle() const { return atan2(m_y, m_x); } in angle()195 operator double () const { return angle(); } in operator double()196 double length() const { return _hypot(m_x, m_y); } in length()
31 typedef std::vector<llvm::sys::Path> PathVector; typedef