Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
BRepPrim_Sphere Class Reference

Implements the sphere primitive

#include <BRepPrim_Sphere.hxx>

Inheritance diagram for BRepPrim_Sphere:
Inheritance graph
[legend]

Public Member Functions

DEFINE_STANDARD_ALLOC 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.

 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.

 BRepPrim_Sphere (const gp_Ax2 &Axes, const Standard_Real Radius)
 Creates a sphere with given axes system.

virtual TopoDS_Face MakeEmptyLateralFace () const
 The surface normal should be directed towards the
outside.


Constructor & Destructor Documentation


Member Function Documentation

Reimplemented from BRepPrim_Revolution.


The documentation for this class was generated from the following file: