Generates vertices on a 2d rectangular tiled grid.

Namespace:  ceometric.ComputationalGeometry
Assembly:  ceometric.ComputationalGeometry (in ceometric.ComputationalGeometry.dll) Version: 2.4.0.0 (2.4.0.0)

Syntax

C#
public static PointSet TiledGrid(
	double deltaX,
	double deltaY,
	int elementsInX,
	int elementsInY
)
Visual Basic (Declaration)
Public Shared Function TiledGrid ( _
	deltaX As Double, _
	deltaY As Double, _
	elementsInX As Integer, _
	elementsInY As Integer _
) As PointSet
Visual C++
public:
static PointSet^ TiledGrid(
	double deltaX, 
	double deltaY, 
	int elementsInX, 
	int elementsInY
)

Parameters

deltaX
Type: System..::.Double
The length of a tile in x-direction.
deltaY
Type: System..::.Double
The length of a tile in y-direction.
elementsInX
Type: System..::.Int32
The number of tiles in x-direction.
elementsInY
Type: System..::.Int32
The number of tiles in y-direction.

Return Value

Returns a planar set of points in the form of a rectangle. The points are located on the intersection points of a raster with dimensions deltaX x deltaY. The lower left corner is at (0,0,0).

See Also