Centering and Scaling a "gpc.poly" Polygon
This is a re-implementation of the corresponding method from package gpclib to also allow centering.
## S3 method for class 'gpc.poly' scale(x, center = c(0,0), scale = c(1,1))
x |
an object of class |
center |
numeric vector of length 2 (x,y), which will be subtracted
from the respective coordinates of |
scale |
numeric vector of length 2 (x,y), which serves as the
divisor for the respective coordinates of |
A "gpc.poly"
, the shifted and/or scaled version of x
.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.