#include <mPoint.h>
|
| S32 | x |
| | X position.
|
| |
| S32 | y |
| | Y position.
|
| |
2D integer point
Uses S32 internally.
◆ Point2I() [1/3]
Create an uninitialized point.
◆ Point2I() [2/3]
◆ Point2I() [3/3]
| Point2I |
( |
const S32 |
in_x, |
|
|
const S32 |
in_y |
|
) |
| |
|
inline |
Create point from two co-ordinates.
◆ convolve()
Convolve this point by parameter.
◆ isZero()
Is this point at the origin? (No epsilon used)
◆ len()
Get the length of the point.
◆ neg()
Invert sign of point's co-ordinates.
◆ operator!=()
| bool operator!= |
( |
const Point2I & |
_test | ) |
const |
|
inline |
◆ operator*()
| Point2I operator* |
( |
const S32 |
mul | ) |
const |
|
inline |
◆ operator*=()
| Point2I & operator*= |
( |
const S32 |
mul | ) |
|
|
inline |
◆ operator+()
◆ operator+=()
◆ operator-() [1/2]
◆ operator-() [2/2]
◆ operator-=()
◆ operator/()
| Point2I operator/ |
( |
const S32 |
div | ) |
const |
|
inline |
◆ operator/=()
| Point2I & operator/= |
( |
const S32 |
div | ) |
|
|
inline |
◆ operator==()
| bool operator== |
( |
const Point2I & |
_test | ) |
const |
|
inline |
◆ set()
| void set |
( |
const S32 |
in_x, |
|
|
const S32 |
in_y |
|
) |
| |
|
inline |
◆ setMax()
| void setMax |
( |
const Point2I & |
_test | ) |
|
|
inline |
Store greater co-ordinates from parameter in this point.
◆ setMin()
| void setMin |
( |
const Point2I & |
_test | ) |
|
|
inline |
Store lesser co-ordinates from parameter in this point.
◆ Max
◆ Min
◆ One
◆ Zero
The documentation for this class was generated from the following files:
- math/mPoint.h
- math/mPoint.cpp