Lines Matching defs:BasePoint4D
74355 struct BasePoint4D { struct
74356 union {
74364 BasePoint4D() : x(0), y(0), z(0), w(0) {} in BasePoint4D() argument
74365 BasePoint4D(T aX, T aY, T aZ, T aW) : x(aX), y(aY), z(aZ), w(aW) {} in BasePoint4D() function
74367 void MoveTo(T aX, T aY, T aZ, T aW) { x = aX; y = aY; z = aZ; w = aW; } in MoveTo()
74368 void MoveBy(T aDx, T aDy, T aDz, T aDw) { x += aDx; y += aDy; z += aDz; w += aDw; } in MoveBy()
74373 bool operator==(const Sub& aPoint) const { in operator ==()
74377 bool operator!=(const Sub& aPoint) const { in operator !=()
74382 Sub operator+(const Sub& aPoint) const { in operator +()
74385 Sub operator-(const Sub& aPoint) const { in operator -()
74388 Sub& operator+=(const Sub& aPoint) { in operator +=()
74395 Sub& operator-=(const Sub& aPoint) { in operator -=()
74403 Sub operator*(T aScale) const { in operator *()
74406 Sub operator/(T aScale) const { in operator /()
74410 Sub& operator*=(T aScale) { in operator *=()
74418 Sub& operator/=(T aScale) { in operator /=()
74426 Sub operator-() const { in operator -()
74430 T& operator[](int aIndex) { in operator []()
74435 const T& operator[](int aIndex) const { in operator []()
74440 T DotProduct(const Sub& aPoint) const { in DotProduct()
74445 Sub CrossProduct(const Sub& aPoint) const { in CrossProduct()
74452 T Length() const { in Length()
74456 void Normalize() { in Normalize()
74460 bool HasPositiveWCoord() { return w > 0; } in HasPositiveWCoord()