Open CASCADE Technology
6.5.4
|
Implements the sphere primitive
#include <BRepPrim_Sphere.hxx>
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. |
BRepPrim_Sphere::BRepPrim_Sphere | ( | const gp_Pnt & | Center, |
const Standard_Real | Radius | ||
) |
BRepPrim_Sphere::BRepPrim_Sphere | ( | const gp_Ax2 & | Axes, |
const Standard_Real | Radius | ||
) |
virtual TopoDS_Face BRepPrim_Sphere::MakeEmptyLateralFace | ( | ) | const [virtual] |
Reimplemented from BRepPrim_Revolution.