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

ModelingAlgorithms
TKPrim
BRepPrimAPI


BRepPrimAPI_MakeSphere Class Reference

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

#include <BRepPrimAPI_MakeSphere.hxx>

Inheritance diagram for BRepPrimAPI_MakeSphere:

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_MakeSphere (const Standard_Real R)
 Make a sphere of radius R.
.
Standard_EXPORT BRepPrimAPI_MakeSphere (const Standard_Real R, const Standard_Real angle)
 Make a sphere of radius R.
.
Standard_EXPORT BRepPrimAPI_MakeSphere (const Standard_Real R, const Standard_Real angle1, const Standard_Real angle2)
 Make a sphere of radius R.
.
Standard_EXPORT BRepPrimAPI_MakeSphere (const Standard_Real R, const Standard_Real angle1, const Standard_Real angle2, const Standard_Real angle3)
 Make a sphere of radius R.
.
Standard_EXPORT BRepPrimAPI_MakeSphere (const gp_Pnt &Center, const Standard_Real R)
 Make a sphere of radius R.
.
Standard_EXPORT BRepPrimAPI_MakeSphere (const gp_Pnt &Center, const Standard_Real R, const Standard_Real angle)
 Make a sphere of radius R.
.
Standard_EXPORT BRepPrimAPI_MakeSphere (const gp_Pnt &Center, const Standard_Real R, const Standard_Real angle1, const Standard_Real angle2)
 Make a sphere of radius R.
.
Standard_EXPORT BRepPrimAPI_MakeSphere (const gp_Pnt &Center, const Standard_Real R, const Standard_Real angle1, const Standard_Real angle2, const Standard_Real angle3)
 Make a sphere of radius R.
.
Standard_EXPORT BRepPrimAPI_MakeSphere (const gp_Ax2 &Axis, const Standard_Real R)
 Make a sphere of radius R.
.
Standard_EXPORT BRepPrimAPI_MakeSphere (const gp_Ax2 &Axis, const Standard_Real R, const Standard_Real angle)
 Make a sphere of radius R.
.
Standard_EXPORT BRepPrimAPI_MakeSphere (const gp_Ax2 &Axis, const Standard_Real R, const Standard_Real angle1, const Standard_Real angle2)
 Make a sphere of radius R.
.
Standard_EXPORT BRepPrimAPI_MakeSphere (const gp_Ax2 &Axis, const Standard_Real R, const Standard_Real angle1, const Standard_Real angle2, const Standard_Real angle3)
 Make a sphere of radius R.
//! For all algorithms The resulting shape is composed of
- a lateral spherical face,
- two planar faces parallel to the plane z = 0 if the
sphere is truncated in the v parametric direction, or
only one planar face if angle1 is equal to -p/2 or if
angle2 is equal to p/2 (these faces are circles in
case of a complete truncated sphere),
- and in case of a portion of sphere, two planar faces
to shut the shape.(in the planes u = 0 and u = angle).
.
Standard_EXPORT Standard_Address OneAxis ()
 Returns the algorithm.
.
Standard_EXPORT BRepPrim_SphereSphere ()
 Returns the algorithm.

.

Private Attributes

BRepPrim_Sphere mySphere

Constructor & Destructor Documentation

Standard_EXPORT BRepPrimAPI_MakeSphere::BRepPrimAPI_MakeSphere const Standard_Real  R  ) 
 

Standard_EXPORT BRepPrimAPI_MakeSphere::BRepPrimAPI_MakeSphere const Standard_Real  R,
const Standard_Real  angle
 

Standard_EXPORT BRepPrimAPI_MakeSphere::BRepPrimAPI_MakeSphere const Standard_Real  R,
const Standard_Real  angle1,
const Standard_Real  angle2
 

Standard_EXPORT BRepPrimAPI_MakeSphere::BRepPrimAPI_MakeSphere const Standard_Real  R,
const Standard_Real  angle1,
const Standard_Real  angle2,
const Standard_Real  angle3
 

Standard_EXPORT BRepPrimAPI_MakeSphere::BRepPrimAPI_MakeSphere const gp_Pnt &  Center,
const Standard_Real  R
 

Standard_EXPORT BRepPrimAPI_MakeSphere::BRepPrimAPI_MakeSphere const gp_Pnt &  Center,
const Standard_Real  R,
const Standard_Real  angle
 

Standard_EXPORT BRepPrimAPI_MakeSphere::BRepPrimAPI_MakeSphere const gp_Pnt &  Center,
const Standard_Real  R,
const Standard_Real  angle1,
const Standard_Real  angle2
 

Standard_EXPORT BRepPrimAPI_MakeSphere::BRepPrimAPI_MakeSphere const gp_Pnt &  Center,
const Standard_Real  R,
const Standard_Real  angle1,
const Standard_Real  angle2,
const Standard_Real  angle3
 

Standard_EXPORT BRepPrimAPI_MakeSphere::BRepPrimAPI_MakeSphere const gp_Ax2 &  Axis,
const Standard_Real  R
 

Standard_EXPORT BRepPrimAPI_MakeSphere::BRepPrimAPI_MakeSphere const gp_Ax2 &  Axis,
const Standard_Real  R,
const Standard_Real  angle
 

Standard_EXPORT BRepPrimAPI_MakeSphere::BRepPrimAPI_MakeSphere const gp_Ax2 &  Axis,
const Standard_Real  R,
const Standard_Real  angle1,
const Standard_Real  angle2
 

Standard_EXPORT BRepPrimAPI_MakeSphere::BRepPrimAPI_MakeSphere const gp_Ax2 &  Axis,
const Standard_Real  R,
const Standard_Real  angle1,
const Standard_Real  angle2,
const Standard_Real  angle3
 


Member Function Documentation

Standard_EXPORT Standard_Address BRepPrimAPI_MakeSphere::OneAxis  )  [virtual]
 

Implements BRepPrimAPI_MakeOneAxis.

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

Reimplemented from BRepPrimAPI_MakeOneAxis.

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

Reimplemented from BRepPrimAPI_MakeOneAxis.

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

Reimplemented from BRepPrimAPI_MakeOneAxis.

Standard_EXPORT BRepPrim_Sphere& BRepPrimAPI_MakeSphere::Sphere  ) 
 


Field Documentation

BRepPrim_Sphere BRepPrimAPI_MakeSphere::mySphere [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