I wanted to know if there is a method to calculate the vertices of a 3D cube (x, y, z) knowing: - The center (coordinate Cx, Cy, Cz) - Coordinate "min", understood as the minimum vertex of the cube (with coordinates mx, my, mz) - Coordinate "max", defined as the maximum vertex of the cube (with coordinates Mx, My, Mz) - And its diagonal (length given by the distance between min and max).
With this information I would calculate: - All 8 vertices of the cube - The length of your side of the cube
It's possible ?