torus
A toroidal solid (i.e. a torus).
Signatures
- torus()
- torus( float radiusTorus, float radiusTube )
- torus( vector direction, float radiusTorus, float radiusTube )
- torus( vector direction, float radiusTorus, float radiusTube, vector position )
Details
The torus can be defined by its torus radius radiusTorus and the radius of the torus tube radiusTube.
Casts To
Parameters
- radiusTorus
-
Radius of the torus, i.e. distance between its central point and any center point of the torus tube.
- radiusTube
-
Radius of the torus tube.
- direction
-
Vector defining the axis direction of the symmetry axis of the torus.
- position
-
Translation vector that is applied to the torus.