gp_Torus.hxx File Reference

#include <Standard.hxx>
#include <Standard_Macro.hxx>
#include <gp_Ax3.hxx>
#include <Standard_Real.hxx>
#include <Standard_Storable.hxx>
#include <Standard_Boolean.hxx>
#include <gp_Ax1.hxx>
#include <Standard_PrimitiveTypes.hxx>
#include <gp_Torus.lxx>

Data Structures

class  gp_Torus
 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...

Functions

const Handle< Standard_Type > & STANDARD_TYPE (gp_Torus)

Function Documentation

const Handle< Standard_Type >& STANDARD_TYPE ( gp_Torus   ) 
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Thu Mar 3 10:39:50 2011 for Open CASCADE Technology by  doxygen 1.6.3