powered by
Convenience function for a set of circular rotation matrices.
eq.arot2 (n, …, start=0) eq.brot2 (n, …, start=0)
Integer, the number of distinct points.
Numeric, giving the starting angle in radians.
Ignored.
A MatrixArray of 3x3 rotation matrices.
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).
Binary Operators
MatrixArray
Pre-Multiplication Transformation Matrices
Post-Multiplication Transformation Matrices
vt3.testplot
# NOT RUN { #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) # }
Run the code above in your browser using DataLab