buildCentroids: Builds the centroid of the rectangular tiles.

Description Usage Arguments Value

View source: R/buildCentroids.R

Description

Builds the centroid of each (rectangular) tile in the grid. The centroid is the center of the tile, i.e. the intersection point of the diagonals of the tile.

Usage

1
buildCentroids(ntiles_x, ntiles_y, tile_sizeX, tile_sizeY)

Arguments

ntiles_x

The number of tiles on OX.

ntiles_y

The number of tiles on OY.

Value

A data.table object with three columns: tile ID, centroidCoord_x
centroidCoord_y
.


bogdanoancea/deduplication documentation built on Dec. 2, 2020, 11:22 p.m.