Open CASCADE Technology 6.6.0
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

 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

BRepPrim_Sphere::BRepPrim_Sphere ( const Standard_Real  Radius)
BRepPrim_Sphere::BRepPrim_Sphere ( const gp_Pnt Center,
const Standard_Real  Radius 
)
BRepPrim_Sphere::BRepPrim_Sphere ( const gp_Ax2 Axes,
const Standard_Real  Radius 
)

Member Function Documentation

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

Reimplemented from BRepPrim_Revolution.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines