#include <mPoint.h>
2D high-precision point.
Uses F64 internally.
Create uninitialized point.
| Point2D |
( |
const F64 |
_x, |
|
|
const F64 |
_y |
|
) |
| |
|
inline |
Create point from coordinates.
| void convolveInverse |
( |
const Point2D & |
c | ) |
|
|
inline |
| void interpolate |
( |
const Point2D & |
a, |
|
|
const Point2D & |
b, |
|
|
const F64 |
c |
|
) |
| |
|
inline |
Interpolate from a to b, based on c.
- Parameters
-
| a | Starting point. |
| b | Ending point. |
| c | Interpolation factor (0.0 .. 1.0). |
| void normalize |
( |
F64 |
val | ) |
|
|
inline |
| bool operator!= |
( |
const Point2D & |
_test | ) |
const |
|
inline |
| Point2D operator* |
( |
const F64 |
_mul | ) |
const |
|
inline |
| Point2D & operator*= |
( |
const F64 |
_mul | ) |
|
|
inline |
| Point2D operator/ |
( |
const F64 |
_div | ) |
const |
|
inline |
| Point2D & operator/= |
( |
const F64 |
_div | ) |
|
|
inline |
| bool operator== |
( |
const Point2D & |
_test | ) |
const |
|
inline |
| void set |
( |
const F64 |
_x, |
|
|
const F64 |
_y |
|
) |
| |
|
inline |
| void setMax |
( |
const Point2D & |
_test | ) |
|
|
inline |
Store greater co-ordinates.
| void setMin |
( |
const Point2D & |
_test | ) |
|
|
inline |
Store lesser co-ordinates.
The documentation for this class was generated from the following file: