| | Describes a torus.
A torus is defined by its major and minor radii and
positioned in space with a coordinate system (a gp_Ax3
object) as follows:
- The origin of the coordinate system is the center of the torus;
- The surface is obtained by rotating a circle of radius
equal to the minor radius of the torus about the "main <br>
Direction" of the coordinate system. This circle is
located in the plane defined by the origin, the "X <br>
Direction" and the "main Direction" of the coordinate
system. It is centered on the "X Axis" of this coordinate
system, and located at a distance, from the origin of
this coordinate system, equal to the major radius of the torus;
- The "X Direction" and "Y Direction" define the
reference plane of the torus.
The coordinate system described above is the "local <br>
coordinate system" of the torus.
Note: when a gp_Torus torus is converted into a
Geom_ToroidalSurface torus, some implicit properties
of its local coordinate system are used explicitly:
- its origin, "X Direction", "Y Direction" and "main <br>
Direction" are used directly to define the parametric
directions on the torus and the origin of the parameters,
- its implicit orientation (right-handed or left-handed)
gives the orientation (direct, indirect) to the
Geom_ToroidalSurface torus.
See Also
gce_MakeTorus which provides functions for more
complex torus constructions
Geom_ToroidalSurface which provides additional
functions for constructing tori and works, in particular,
with the parametric equations of tori.
More...
|