Point3I
3D integer point
Public Functions
Point3I()
Create an uninitialized point.
bool
isZero()
Check for point at origin. (No epsilon.)
bool
operator!=(const Point3I & )
Point3I &
Point3I &
operator+=(const Point3I & )
Point3I &
operator-=(const Point3I & )
Point3I &
bool
operator==(const Point3I & )
Detailed Description
3D integer point
Uses S32 internally.
Public Attributes
S32 x
X co-ordinate.
S32 y
Y co-ordinate.
S32 z
Z co-ordinate.
Public Static Attributes
const Point3I One
const Point3I Zero
Public Functions
Point3I()
Create an uninitialized point.
Point3I(const Point3I & )
Copy constructor.
Point3I(S32 in_x, S32 in_y, S32 in_z)
Create a point from co-ordinates.
Point3I(S32 xyz)
Initializes all elements to the same value.
convolve(const Point3I & )
Convolve by parameter.
isZero()
Check for point at origin. (No epsilon.)
len()
Get length.
neg()
Invert co-ordinate's signs.
operator const S32*()
operator S32*()
operator!=(const Point3I & )
operator*(S32 )
operator*=(S32 )
operator+(const Point3I & )
operator+=(const Point3I & )
operator-()
operator-(const Point3I & )
operator-=(const Point3I & )
operator/(S32 )
operator/=(S32 )
operator==(const Point3I & )
set(S32 in_x, S32 in_y, S32 in_z)
Set co-ordinates.
set(S32 xyz)
Initializes all elements to the same value.
setMax(const Point3I & )
Store greater co-ordinates in this point.
setMin(const Point3I & )
Store lesser co-ordinates in this point.
zero()
Zero all values.