77_other_transformation_matrices: Other Transformation Matrices

Description Usage Arguments Details Value See Also Examples

Description

Convenience function for a set of circular rotation matrices.

Usage

1
2
eq.arot2 (n, ..., start=0)
eq.brot2 (n, ..., start=0)

Arguments

n

Integer, the number of distinct points.

start

Numeric, giving the starting angle in radians.

...

Ignored.

Details

These functions are wrappers for arot2 and brot2.

They compute a vector of equally-spaced theta values, around a circle.
Then construct the transformation matrices using the theta values.

This can be used to create polygons.

Note that swapping functions, reverses the direction of rotation.
(e.g. Changing eq.arot2 to eq.brot2).

Value

A MatrixArray of 3x3 rotation matrices.

See Also

Binary Operators

MatrixArray

Pre-Multiplication Transformation Matrices

Post-Multiplication Transformation Matrices

vt3.testplot

Examples

1
2
3
4
5
#equivalent to:
#vt3.testplot (regPolygon (6, d=4) )
ps <- c (0, 4) %|*% eq.brot2 (6, start = pi / 6)
v <- as.Polygon (ps)
vt3.testplot (v)

vectools documentation built on June 7, 2021, 9:08 a.m.