homoth: Homothety

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Homothety (scaling) of center centre and of factor scale on an object form

Usage

1
homoth(form = rbind(c(0, 1), c(1, 1)), centre = c(0, 1), scale = 0.5)

Arguments

form

matrix: with two columns x and y. Set of points making the shape

centre

vector: Coordinates of the homothety center

scale

numeric: Homothety ratio

Details

Utilitary used by smartArrow

Value

A matrix, transformed from form after homothety.

Author(s)

Jean-Sebastien Pierre
Jean-sebastien.pierre@univ-rennes1.fr

See Also

smartArrow

Examples

1
homoth(rbind(c(0,sqrt(2)/2),c(0,sqrt(2)/2)),c(0,0),2)

sequence documentation built on March 26, 2020, 7:30 p.m.