OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKPrim
BRepPrimAPI


BRepPrimAPI_MakeTorus Class Reference

Describes functions to build tori or portions of tori.
A MakeTorus object provides a framework for:
- defining the construction of a torus,
- implementing the construction algorithm, and
- consulting the result.
.

#include <BRepPrimAPI_MakeTorus.hxx>

Inheritance diagram for BRepPrimAPI_MakeTorus:

Inheritance graph
[legend]

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT BRepPrimAPI_MakeTorus (const Standard_Real R1, const Standard_Real R2)
 Make a torus of radii R1 R2.
.
Standard_EXPORT BRepPrimAPI_MakeTorus (const Standard_Real R1, const Standard_Real R2, const Standard_Real angle)
 Make a section of a torus of radii R1 R2.
.
Standard_EXPORT BRepPrimAPI_MakeTorus (const Standard_Real R1, const Standard_Real R2, const Standard_Real angle1, const Standard_Real angle2)
 Make a torus of radii R2, R2 with angles on the
small circle.
.
Standard_EXPORT BRepPrimAPI_MakeTorus (const Standard_Real R1, const Standard_Real R2, const Standard_Real angle1, const Standard_Real angle2, const Standard_Real angle)
 Make a torus of radii R2, R2 with angles on the
small circle.
.
Standard_EXPORT BRepPrimAPI_MakeTorus (const gp_Ax2 &Axes, const Standard_Real R1, const Standard_Real R2)
 Make a torus of radii R1 R2.
.
Standard_EXPORT BRepPrimAPI_MakeTorus (const gp_Ax2 &Axes, const Standard_Real R1, const Standard_Real R2, const Standard_Real angle)
 Make a section of a torus of radii R1 R2.
.
Standard_EXPORT BRepPrimAPI_MakeTorus (const gp_Ax2 &Axes, const Standard_Real R1, const Standard_Real R2, const Standard_Real angle1, const Standard_Real angle2)
 Make a torus of radii R1 R2.
.
Standard_EXPORT BRepPrimAPI_MakeTorus (const gp_Ax2 &Axes, const Standard_Real R1, const Standard_Real R2, const Standard_Real angle1, const Standard_Real angle2, const Standard_Real angle)
 Make a section of a torus of radii R1 R2.
//! For all algorithms The resulting shape is composed of
· a lateral toroidal face,
· two conical faces (defined by the equation v = angle1 and
v = angle2) if the sphere is truncated in the v parametric
direction (they may be cylindrical faces in some
particular conditions), and in case of a portion
of torus, two planar faces to close the shape.(in the planes
u = 0 and u = angle).
Notes:
· The u parameter corresponds to a rotation angle around the Z axis.
· The circle whose radius is equal to the minor radius,
located in the plane defined by the X axis and the Z axis,
centered on the X axis, on its positive side, and positioned
at a distance from the origin equal to the major radius, is
the reference circle of the torus. The rotation around an
axis parallel to the Y axis and passing through the center
of the reference circle gives the v parameter on the
reference circle. The X axis gives the origin of the v
parameter. Near 0, as v increases, the Z coordinate decreases.
.
Standard_EXPORT Standard_Address OneAxis ()
 Returns the algorithm.
.
Standard_EXPORT BRepPrim_TorusTorus ()
 Returns the algorithm.

.

Private Attributes

BRepPrim_Torus myTorus

Constructor & Destructor Documentation

Standard_EXPORT BRepPrimAPI_MakeTorus::BRepPrimAPI_MakeTorus const Standard_Real  R1,
const Standard_Real  R2
 

Standard_EXPORT BRepPrimAPI_MakeTorus::BRepPrimAPI_MakeTorus const Standard_Real  R1,
const Standard_Real  R2,
const Standard_Real  angle
 

Standard_EXPORT BRepPrimAPI_MakeTorus::BRepPrimAPI_MakeTorus const Standard_Real  R1,
const Standard_Real  R2,
const Standard_Real  angle1,
const Standard_Real  angle2
 

Standard_EXPORT BRepPrimAPI_MakeTorus::BRepPrimAPI_MakeTorus const Standard_Real  R1,
const Standard_Real  R2,
const Standard_Real  angle1,
const Standard_Real  angle2,
const Standard_Real  angle
 

Standard_EXPORT BRepPrimAPI_MakeTorus::BRepPrimAPI_MakeTorus const gp_Ax2 &  Axes,
const Standard_Real  R1,
const Standard_Real  R2
 

Standard_EXPORT BRepPrimAPI_MakeTorus::BRepPrimAPI_MakeTorus const gp_Ax2 &  Axes,
const Standard_Real  R1,
const Standard_Real  R2,
const Standard_Real  angle
 

Standard_EXPORT BRepPrimAPI_MakeTorus::BRepPrimAPI_MakeTorus const gp_Ax2 &  Axes,
const Standard_Real  R1,
const Standard_Real  R2,
const Standard_Real  angle1,
const Standard_Real  angle2
 

Standard_EXPORT BRepPrimAPI_MakeTorus::BRepPrimAPI_MakeTorus const gp_Ax2 &  Axes,
const Standard_Real  R1,
const Standard_Real  R2,
const Standard_Real  angle1,
const Standard_Real  angle2,
const Standard_Real  angle
 


Member Function Documentation

Standard_EXPORT Standard_Address BRepPrimAPI_MakeTorus::OneAxis  )  [virtual]
 

Implements BRepPrimAPI_MakeOneAxis.

void BRepPrimAPI_MakeTorus::operator delete void *  anAddress  )  [inline]
 

Reimplemented from BRepPrimAPI_MakeOneAxis.

void* BRepPrimAPI_MakeTorus::operator new size_t  size  )  [inline]
 

Reimplemented from BRepPrimAPI_MakeOneAxis.

void* BRepPrimAPI_MakeTorus::operator new size_t  ,
void *  anAddress
[inline]
 

Reimplemented from BRepPrimAPI_MakeOneAxis.

Standard_EXPORT BRepPrim_Torus& BRepPrimAPI_MakeTorus::Torus  ) 
 


Field Documentation

BRepPrim_Torus BRepPrimAPI_MakeTorus::myTorus [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:41:34 2008 for OpenCASCADE by  doxygen 1.4.1