You are here: Start » AVL.NET » AVL.CreatePointGrid
Creates a grid of points.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void CreatePointGrid ( AvlNet.Point2D inPoint, AvlNet.Anchor2D inAnchor, int inRowCount, int inColumnCount, float inRowStep, float inColumnStep, IList<AvlNet.Point2D> outPointGrid )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPoint | AvlNet.Point2D | A starting point of the created grid. | |||
inAnchor | AvlNet.Anchor2D | TopLeft | Anchor of the reference point. Default value: TopLeft. | ||
inRowCount | int | <0, +INF> | Number of rows the grid will have. | ||
inColumnCount | int | <0, +INF> | Number of columns the grid will have. | ||
inRowStep | float | <0.0f, INF> | 1.0f | Distance between consecutive rows of the created grid. Default value: 1.0f. | |
inColumnStep | float | <0.0f, INF> | 1.0f | Distance between consecutive columns of the created grid. Default value: 1.0f. | |
outPointGrid | System.Collections.Generic.IList<AvlNet.Point2D> | Created point grid. |