|
Structural deformable models
|
#include <Point.h>


Public Member Functions | |
| IPoint2D () | |
| IPoint2D (int _i, float _x, float _y) | |
| IPoint2D (int _i, const Point2D &p) | |
| IPoint2D & | operator= (const IPoint2D &rhs) |
| IPoint2D & | operator= (const Point2D &rhs) |
Public Member Functions inherited from Point2D | |
| Point2D () | |
| Point2D (const Point2D &rhs) | |
| Point2D (float _x, float _y) | |
| Point2D (const float *val) | |
| virtual | ~Point2D () |
| Point2D & | operator= (const Point2D &rhs) |
| Point2D & | operator= (float rhs) |
| Point2D & | operator= (const float *rhs) |
| Point2D & | operator+= (const Point2D &rhs) |
| Point2D & | operator-= (const Point2D &rhs) |
| Point2D & | operator*= (const Point2D &rhs) |
| Point2D & | operator*= (const float f) |
| Point2D & | operator/= (const Point2D &rhs) |
| Point2D & | operator/= (const float f) |
| float | operator* (const Point2D &rhs) const |
| const Point2D & | const_times (const Point2D &rhs) const |
| Point2D & | times (const Point2D &rhs) |
| float | dot (const Point2D &rhs) const |
| float | crossZ (const Point2D &rhs) const |
| float | sinAngle (const Point2D &rhs) const |
| float | angle (const Point2D &rhs=Point2D(1, 0)) const |
| float | sinAngleX () const |
| float | angleX () const |
| Point2D | operator* (float rhs) const |
| Point2D | operator+ (const Point2D &rhs) const |
| Point2D | operator- (const Point2D &rhs) const |
| Point2D | operator/ (const Point2D &rhs) const |
| Point2D | operator/ (float rhs) const |
| float | sum () const |
| returns 1-norm More... | |
| float | norm2 () const |
| returns squared 2-norm More... | |
| float | norm () const |
| returns 2-norm aka length or absolute More... | |
| float | normalize () |
| normalizes the vector; returns old norm More... | |
| bool | clamp (float x0, float y0, float x1, float y1) |
| void | glVertex () const |
| Issue a glVertex2f call. More... | |
| const Point2D | flipOrtho () const |
| const Point2D | copyNormalized () const |
| const Point2D | rotate (float angle) const |
Public Attributes | |
| int | index |
Public Attributes inherited from Point2D | |
| float | x |
| float | y |
|
inline |
| int IPoint2D::index |
Definition at line 248 of file Point.h.
Referenced by operator=().
1.8.11