rotatedObject: Rotate any 2D object by handle, vertex list, or bounding box

Easily rotate any 2D object: rectangles, ellipses, imrois, xy-coordinates
471 download
Aggiornato 30 gen 2018

Visualizza la licenza

Rotate any 2D object (specified by its vertices or by handle(s) to an imroi object) by angle theta (in degrees), about any center of rotation.
Create rotated rectangle or ellipse specified by its (unrotated) bounding box.
Specify center of rotation by point, or by corner or centroid of bounding box.
Includes shortcut functions rotateRectangle and rotateEllipse for convenience.

Cita come

Brett Shoelson (2024). rotatedObject: Rotate any 2D object by handle, vertex list, or bounding box (https://www.mathworks.com/matlabcentral/fileexchange/49529-rotatedobject-rotate-any-2d-object-by-handle-vertex-list-or-bounding-box), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2014b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Geometric Transformation and Image Registration in Help Center e MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.1.0.1

Providing missing function vertToPos(); necessary for one of the examples. Thanks to Gary for pointing out the omission.
Updated license

1.1.0.0

Extends, replaces the original rotatedRectangle file.

1.0.0.0