Table of Contents

Method TruncDiv

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

TruncDiv(int)

Divides each coordinate with r, using integer trunc division.

[Version(2, 2, 0)]
public GridPoint2 TruncDiv(int r)

Parameters

r int

Returns

GridPoint2

TruncDiv(GridPoint2)

Gives a new point that represents the first point divided by the second point component-wise.The division is integer division.

[Version(2, 2, 0)]
public GridPoint2 TruncDiv(GridPoint2 otherPoint)

Parameters

otherPoint GridPoint2

Returns

GridPoint2