rotation: Plane rotation

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

Description

Rotation of the object form around a center center, of angle angle. Angle in radians in the direct (trigonometric) direction.

Usage

1
rotation(form, center, angle)

Arguments

form

matrix: two columns, x and y, giving the coordinates of the points composing the object.

center

vector: coordinates of the rotation center.

angle

numeric: rotation angle in radians

Details

A geometric function used by smartArrow

Value

matrix: form object rotated.

Author(s)

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

See Also

smartArrow

Examples

1
rotation(cbind(c(0,1),c(0,0)),c(0,0),pi/3)

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