Lines Matching defs:BasePoint
73445 struct BasePoint { struct
73446 union {
73454 constexpr BasePoint() : x(0), y(0) {} in BasePoint() argument
73455 constexpr BasePoint(Coord aX, Coord aY) : x(aX), y(aY) {} in BasePoint() argument
73457 void MoveTo(T aX, T aY) { x = aX; y = aY; } in MoveTo()
73458 void MoveBy(T aDx, T aDy) { x += aDx; y += aDy; } in MoveBy()
73463 bool operator==(const Sub& aPoint) const { in operator ==()
73466 bool operator!=(const Sub& aPoint) const { in operator !=()
73470 Sub operator+(const Sub& aPoint) const { in operator +()
73473 Sub operator-(const Sub& aPoint) const { in operator -()
73476 Sub& operator+=(const Sub& aPoint) { in operator +=()
73481 Sub& operator-=(const Sub& aPoint) { in operator -=()
73487 Sub operator*(T aScale) const { in operator *()
73490 Sub operator/(T aScale) const { in operator /()
73494 Sub operator-() const { in operator -()
73498 T DotProduct(const Sub& aPoint) const { in DotProduct()
73502 Coord Length() const { in Length()
73506 T LengthSquare() const { in LengthSquare()
73513 Sub& Round() { in Round()
73520 bool IsFinite() const in IsFinite()
73527 void Clamp(T aMaxAbsValue) in Clamp()