Method Divide
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
Divide(int, int)
Divides the rectangle into equal rectangles along its own sides.
public GeoRectangle2[] Divide(int columns, int rows)
Parameters
Returns
- GeoRectangle2[]
The rectangles, turned as this one is, row by row from its lower side and each row from its left: the one at column
cand rowris at indexr * columns + c.
Exceptions
- ArgumentOutOfRangeException
Thrown when the columns or the rows are fewer than one.