1
$\begingroup$

How do I find the new coordinates of a rotated Cuboid[], obtained through

GeometricTransformation[Cuboid[],RotationTransform[-Pi/4, {0, 0, 1}]]

CoordinateBounds does not seem to work

$\endgroup$
2
$\begingroup$

I have found the answer myself.

If you want the transformed cube to be again a region so that you can use CoordinateBounds you should use TransformedRegion as follows:

TransformedRegion[Cuboid[],RotationTransform[-Pi/4, {0, 0, 1}]]

now CoordinatessBounds works properly.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.