Function rotate_matrix
Defined in File matching_utils.hpp
Function Documentation
-
arma::fmat rotate_matrix(const arma::fmat &points, float angle)
Rotate a matrix of 2D points by a given angle.
- Parameters:
points – Matrix where each row is a 2D point.
angle – Rotation angle in radians.
- Returns:
Rotated matrix.