powered by
Homothety (scaling) of center centre and of factor scale on an object form
centre
scale
form
homoth(form = rbind(c(0, 1), c(1, 1)), centre = c(0, 1), scale = 0.5)
matrix: with two columns x and y. Set of points making the shape
vector: Coordinates of the homothety center
numeric: Homothety ratio
A matrix, transformed from form after homothety.
Utilitary used by smartArrow
smartArrow
# NOT RUN { homoth(rbind(c(0,sqrt(2)/2),c(0,sqrt(2)/2)),c(0,0),2) # }
Run the code above in your browser using DataLab