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

ModelingAlgorithms
TKPrim
BRepPrim


BRepPrim_Sphere Class Reference

Implements the sphere primitive
.

#include <BRepPrim_Sphere.hxx>

Inheritance diagram for BRepPrim_Sphere:

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 BRepPrim_Sphere (const Standard_Real Radius)
 Creates a Sphere at origin with Radius. The axes
of the sphere are the reference axes. An error is
raised if the radius is < Resolution.
.
Standard_EXPORT BRepPrim_Sphere (const gp_Pnt &Center, const Standard_Real Radius)
 Creates a Sphere with Center and Radius. Axes are
the referrence axes. This is the STEP
constructor.
.
Standard_EXPORT BRepPrim_Sphere (const gp_Ax2 &Axes, const Standard_Real Radius)
 Creates a sphere with given axes system.
.
virtual Standard_EXPORT TopoDS_Face MakeEmptyLateralFace () const
 The surface normal should be directed towards the
outside.
.

Private Member Functions

Standard_EXPORT void SetMeridian ()

Private Attributes

Standard_Real myRadius

Constructor & Destructor Documentation

Standard_EXPORT BRepPrim_Sphere::BRepPrim_Sphere const Standard_Real  Radius  ) 
 

Standard_EXPORT BRepPrim_Sphere::BRepPrim_Sphere const gp_Pnt &  Center,
const Standard_Real  Radius
 

Standard_EXPORT BRepPrim_Sphere::BRepPrim_Sphere const gp_Ax2 &  Axes,
const Standard_Real  Radius
 


Member Function Documentation

virtual Standard_EXPORT TopoDS_Face BRepPrim_Sphere::MakeEmptyLateralFace  )  const [virtual]
 

Reimplemented from BRepPrim_Revolution.

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

Reimplemented from BRepPrim_Revolution.

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

Reimplemented from BRepPrim_Revolution.

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

Reimplemented from BRepPrim_Revolution.

Standard_EXPORT void BRepPrim_Sphere::SetMeridian  )  [private]
 


Field Documentation

Standard_Real BRepPrim_Sphere::myRadius [private]
 


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