setOrigin(pos)
Specify the origin (centre) of a cube, cuboid, cylinder, cone, sphere or ellipsoid when creating these shapes.
| X | double | X ordinate | 
| Y | double | Y ordinate | 
| Z | double | Z ordinate | 
| pos | Array | Array of 3 doubles, representing the coordinates | 
| Return value | Pointer to this object | Allows multiple function calls to be chained together | 
Back to GeometryData
Back to Overview