Generates vertices on a 2d rectangular tiled grid.
Namespace:
ceometric.ComputationalGeometryAssembly: 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.