|
Torque2D Reference
|
#include <mPoint.h>
Public Member Functions | |
| Point3I () | |
| Create an uninitialized point. More... | |
| Point3I (const Point3I &) | |
| Copy constructor. More... | |
| Point3I (const S32 in_x, const S32 in_y, const S32 in_z) | |
| Create a point from co-ordinates. More... | |
| void | set (const S32 in_x, const S32 in_y, const S32 in_z) |
| Set co-ordinates. More... | |
| void | setMin (const Point3I &) |
| Store lesser co-ordinates in this point. More... | |
| void | setMax (const Point3I &) |
| Store greater co-ordinates in this point. More... | |
| void | neg () |
| Invert co-ordinate's signs. More... | |
| void | convolve (const Point3I &) |
| Convolve by paramater. More... | |
| bool | isZero () const |
| Check for point at origin. (No epsilon.) More... | |
| F32 | len () const |
| Get length. More... | |
| bool | operator== (const Point3I &) const |
| bool | operator!= (const Point3I &) const |
| Point3I | operator+ (const Point3I &) const |
| Point3I | operator- (const Point3I &) const |
| Point3I & | operator+= (const Point3I &) |
| Point3I & | operator-= (const Point3I &) |
| Point3I | operator* (const S32) const |
| Point3I & | operator*= (const S32) |
| Point3I | operator/ (const S32) const |
| Point3I & | operator/= (const S32) |
| Point3I | operator- () const |
Public Attributes | |
| S32 | x |
| X co-ordinate. More... | |
| S32 | y |
| Y co-ordinate. More... | |
| S32 | z |
| Z co-ordinate. More... | |
3D integer point
Uses S32 internally.
|
inline |
Create an uninitialized point.
|
inline |
Create a point from co-ordinates.
|
inline |
Convolve by paramater.
|
inline |
Check for point at origin. (No epsilon.)
|
inline |
Get length.
|
inline |
Invert co-ordinate's signs.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Set co-ordinates.
|
inline |
Store greater co-ordinates in this point.
|
inline |
Store lesser co-ordinates in this point.
| S32 x |
X co-ordinate.
| S32 y |
Y co-ordinate.
| S32 z |
Z co-ordinate.
1.8.3.1