Can objects be grouped together operated on as a group?

Mark Pennington shared this question 1 month ago
Answered

I would like to perform operations several objects as a group. For example, how would I rotate 4 polygons about a point with a single Rotate command?

Sincere thanks...helping my grandkids!

Mark in Michigan

Comments (4)

photo
1

You can group polygons p1, p2, p3 as l1 = {p1, p2, p3} and then Rotate l1.

But: this operation works on the list and doesn't rotate the original polygons, however you can hide them. Another issue is that you can't perform actions on individual elements of a list. You have to perform them on the original objects. But if you just want to rotate, working with a list is fine.

photo
1

tal y como lo describes no es posible

photo
1

I illustrated my first comment in a file. You can create a list l1 of 4 polygons and rotate it around a point A following a slider alpha with the command Rotate(l1, α, A). But as you see the list is rotated, not the original polygons. So you have to hide them afterwards and there's no one that sees they are not the originals. Now there's a great BUT! This list ant the rotated one doesn't bear all GG possibilities of the original polygons. So you cannot perform actions like defining points on a certain side of a particular polygon. So all depend what you want to do with it. If it's just rotating, than it's ok, if you want to use the rotated polygons in further constructions, forget about the option of grouping them.

photo
1

Thank you, ccambre...

Your reply answered my question and the example was very helpful. All the best!

photo
© 2020 International GeoGebra Institute