#include <mPoint.h>
|
| F64 | x |
| | X co-ordinate.
|
| |
| F64 | y |
| | Y co-ordinate.
|
| |
2D high-precision point.
Uses F64 internally.
◆ Point2D() [1/3]
Create uninitialized point.
◆ Point2D() [2/3]
◆ Point2D() [3/3]
| Point2D |
( |
const F64 |
_x, |
|
|
const F64 |
_y |
|
) |
| |
|
inline |
Create point from coordinates.
◆ convolve()
◆ convolveInverse()
| void convolveInverse |
( |
const Point2D & |
c | ) |
|
|
inline |
◆ interpolate()
| 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). |
◆ isZero()
◆ len()
◆ lenSquared()
◆ neg()
◆ normalize() [1/2]
◆ normalize() [2/2]
| void normalize |
( |
F64 |
val | ) |
|
|
inline |
◆ operator F64 *() [1/2]
◆ operator F64 *() [2/2]
◆ operator!=()
| bool operator!= |
( |
const Point2D & |
_test | ) |
const |
|
inline |
◆ operator*()
| Point2D operator* |
( |
const F64 |
_mul | ) |
const |
|
inline |
◆ operator*=()
| Point2D & operator*= |
( |
const F64 |
_mul | ) |
|
|
inline |
◆ operator+()
◆ operator+=()
◆ operator-() [1/2]
◆ operator-() [2/2]
◆ operator-=()
◆ operator/()
| Point2D operator/ |
( |
const F64 |
_div | ) |
const |
|
inline |
◆ operator/=()
| Point2D & operator/= |
( |
const F64 |
_div | ) |
|
|
inline |
◆ operator==()
| bool operator== |
( |
const Point2D & |
_test | ) |
const |
|
inline |
◆ set()
| void set |
( |
const F64 |
_x, |
|
|
const F64 |
_y |
|
) |
| |
|
inline |
◆ setMax()
| void setMax |
( |
const Point2D & |
_test | ) |
|
|
inline |
Store greater co-ordinates.
◆ setMin()
| void setMin |
( |
const Point2D & |
_test | ) |
|
|
inline |
Store lesser co-ordinates.
◆ One
◆ Zero
The documentation for this class was generated from the following files:
- math/mPoint.h
- math/mPoint.cpp