# Point3I

Engine/source/math/mPoint3.h

3D integer point

More...

```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.

```void
```
```convolve(const Point3I & )
```

Convolve by parameter.

```bool
```
```isZero()
```

Check for point at origin. (No epsilon.)

```F32
```
```len()
```

Get length.

```void
```
```neg()
```

Invert co-ordinate's signs.

```operator const S32*()
```
```operator S32*()
```
```bool
```
```operator!=(const Point3I & )
```
```Point3I
```
```operator*(S32 )
```
```Point3I &
```
```operator*=(S32 )
```
```Point3I
```
```operator+(const Point3I & )
```
```Point3I &
```
```operator+=(const Point3I & )
```
```Point3I
```
```operator-()
```
```Point3I
```
```operator-(const Point3I & )
```
```Point3I &
```
```operator-=(const Point3I & )
```
```Point3I
```
```operator/(S32 )
```
```Point3I &
```
```operator/=(S32 )
```
```bool
```
```operator==(const Point3I & )
```
```void
```
```set(S32 in_x, S32 in_y, S32 in_z)
```

Set co-ordinates.

```void
```
```set(S32 xyz)
```

Initializes all elements to the same value.

```void
```
```setMax(const Point3I & )
```

Store greater co-ordinates in this point.

```void
```
```setMin(const Point3I & )
```

Store lesser co-ordinates in this point.

```void
```
```zero()
```

Zero all values.

## 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.