Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 2D Basics » CreatePointGrid
Creates a grid of points.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::CreatePointGrid ( const avl::Point2D& inPoint, avl::Anchor2D::Type inAnchor, const int inRowCount, const int inColumnCount, const float inRowStep, const float inColumnStep, atl::Array<avl::Point2D>& outPointGrid )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPoint | const Point2D& | A starting point of the created grid | |||
inAnchor | Anchor2D::Type | TopLeft | Anchor of the reference point | ||
inRowCount | const int | 0 - + | Number of rows the grid will have | ||
inColumnCount | const int | 0 - + | Number of columns the grid will have | ||
inRowStep | const float | 0.0 - | 1.0f | Distance between consecutive rows of the created grid | |
inColumnStep | const float | 0.0 - | 1.0f | Distance between consecutive columns of the created grid | |
outPointGrid | Array<Point2D>& | Created point grid |