# Implicit surface representation of a cube

Implicit representation is of the form f(x, y, z) = 0. For a sphere it is just $x^2 + y^2 + z^2 = R^2$. I am wondering what is the equation for a cube.

-
add comment

## 1 Answer

$\max (|x|,|y|,|z| ) = 1$ for the unit cube.

-
Thanks for quick response! –  LittleSweet Oct 2 '12 at 13:34
add comment