|
| Point2D (int r=0, int c=0) |
|
Point2D & | operator= (const Rect &r) |
|
float | SquaredDistance (const Point2D &other) const |
|
float | Distance (const Point2D &other) const |
|
float | SquaredLength () const |
|
float | Length () const |
|
Point2D | operator- (const Point2D &other) const |
|
float | operator* (const Point2D &other) const |
|
Point2D | operator* (float scale) const |
|
float | ProjectResidual (const Point2D &other) const |
|
float Point2D::ProjectResidual |
( |
const Point2D & |
other | ) |
const |
|
inline |
Given two vector this and other, returns |other - dot(this, other) / (|this| ^ 2) * this|.
The documentation for this class was generated from the following files: