Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The "silver" rhombohedron (a.k.a the trigonal trapezohedron) is a three-dimensional object with six faces composed of congruent rhombi. You can see it visualised here.

I am interested in replicating the visualisation linked to above in MATLAB, but to do that I need to know the coordinates of the rhombohedron's eight vertices (I am using the patch function).

How do I calculate the coordinates of the vertices of the silver rhombohedron?

share|cite|improve this question

Use vectors $e_1=(1,0,0)$, $e_2=(\cos{\alpha},\sin{\alpha},0)$ and $e_3=(\cos{\alpha},0,\sin{\alpha})$ as basis.
Then vertices are set of all points with each coordinate $0$ or $1$: $(0,0,0)$, $(0,0,1)$, ..., $(1,1,1)$.
Or $0$, $e_1$, $e_2$, $e_3$, $e_1+e_2$, ..., $e_1+e_2+e_3$.

Multiply coordinates by constant if needed.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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