Generates vertex coordinates for a rectangle with dimensions
given through dims
param.
See also
Other polygon stamping:
circleVertices()
,
hexVertices()
,
polyStamp()
Examples
rectVertices(c(x = 1, y = 2))
#> x y
#> <num> <num>
#> 1: 0 0
#> 2: 0 2
#> 3: 1 2
#> 4: 1 0