rotate edit page

rotate a crystal shape by an rotation or orientation

Syntax

  cS = rotate(cS,rot)
  cS = ori .* cS

Input

cS crystalShape
rot rotation
ori orientation

Output

cS crystalShape