Home | History | Annotate | Download | only in core

Lines Matching refs:Point

28 class Point {
30 Point() : x_(0.0f), y_(0.0f) {}
31 Point(float x, float y) : x_(x), y_(y) {}
38 static float Distance(const Point& p0, const Point& p1);
41 Point operator+(const Point& other) const;
42 Point operator-(const Point& other) const;
43 Point operator*(float factor) const;
56 Quad(const Point& p0, const Point& p1, const Point& p2, const Point& p3)
64 const std::vector<Point>& points() const { return points_; }
65 const Point& point(int ix) const;
68 std::vector<Point> points_;