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

Cylinder primitive.

#include <BRepPrim_Cylinder.hxx>

Inheritance diagram for BRepPrim_Cylinder:
Inheritance graph
[legend]

Public Member Functions

DEFINE_STANDARD_ALLOC BRepPrim_Cylinder (const gp_Ax2 &Position, const Standard_Real Radius, const Standard_Real Height)
 the STEP definition
Position : center of a Face and Axis
Radius : radius of cylinder
Height : distance between faces
on positive side

Errors : Height < Resolution
Radius < Resolution

 BRepPrim_Cylinder (const Standard_Real Radius)
 infinite Cylinder at origin on Z negative

 BRepPrim_Cylinder (const gp_Pnt &Center, const Standard_Real Radius)
 infinite Cylinder at Center on Z negative

 BRepPrim_Cylinder (const gp_Ax2 &Axes, const Standard_Real Radius)
 infinite Cylinder at Axes on Z negative

 BRepPrim_Cylinder (const Standard_Real R, const Standard_Real H)
 create a Cylinder at origin on Z axis, of
height H and radius R
Error : Radius < Resolution
H < Resolution
H negative

 BRepPrim_Cylinder (const gp_Pnt &Center, const Standard_Real R, const Standard_Real H)
 same as above but at a given point

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: