You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Basics » AVL.CreatePointGrid

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
inPointAvlNet.Point2DA starting point of the created grid.
inAnchorAvlNet.Anchor2DTopLeftAnchor of the reference point. Default value: TopLeft.
inRowCountint<0, +INF>Number of rows the grid will have.
inColumnCountint<0, +INF>Number of columns the grid will have.
inRowStepfloat<0.0f, INF>1.0fDistance between consecutive rows of the created grid. Default value: 1.0f.
inColumnStepfloat<0.0f, INF>1.0fDistance between consecutive columns of the created grid. Default value: 1.0f.
outPointGridSystem.Collections.Generic.IList<AvlNet.Point2D>Created point grid.

See also