How can I get all corner/vertex coorinates of a cuboid (all angles between edges = 90degrees, but edges with different lenght) just having the bounds (xmin, xmax, ymin, ymax, zmin, zmax)?

If the cuboid is parallel to the a cartesian coorinate system it seems easy, but if the cuboid is not arranged parallel to the coordinate system it is a bit confusing...

Maybe someone has an Idea...