Open CASCADE Technology
6.5.4
|
MakeRevolutionForm Generates a surface of
revolution in the feature as it slides along a
revolved face in the basis shape.
The semantics of mechanical features is built
around giving thickness to a contour. This
thickness can either be unilateral - on one side
of the contour - or bilateral - on both sides. As
in the semantics of form features, the thickness
is defined by construction of shapes in specific contexts.
The development contexts differ, however,in
case of mechanical features. Here they include extrusion:
More...
#include <BRepFeat_MakeRevolutionForm.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | BRepFeat_MakeRevolutionForm () |
initializes the linear form class. | |
BRepFeat_MakeRevolutionForm (const TopoDS_Shape &Sbase, const TopoDS_Wire &W, const Handle< Geom_Plane > &Plane, const gp_Ax1 &Axis, const Standard_Real Height1, const Standard_Real Height2, const Standard_Integer Fuse, Standard_Boolean &Sliding) | |
a contour W, a shape Sbase and a plane P are initialized to serve as the basic elements in the construction of the rib or groove. The axis Axis of the revolved surface in the basis shape defines the feature's axis of revolution. Height1 and Height2 may be used as limits to the construction of the feature. Fuse offers a choice between: | |
void | Init (const TopoDS_Shape &Sbase, const TopoDS_Wire &W, const Handle< Geom_Plane > &Plane, const gp_Ax1 &Axis, const Standard_Real Height1, const Standard_Real Height2, const Standard_Integer Fuse, Standard_Boolean &Sliding) |
Initializes this construction algorithm A contour W, a shape Sbase and a plane P are initialized to serve as the basic elements in the construction of the rib or groove. The axis Axis of the revolved surface in the basis shape defines the feature's axis of revolution. Height1 and Height2 may be used as limits to the construction of the feature. Fuse offers a choice between: | |
void | Add (const TopoDS_Edge &E, const TopoDS_Face &OnFace) |
Indicates that the edge <E> will slide on the face <OnFace>. Raises ConstructionError if the face does not belong to the basis shape, or the edge to the prismed shape. | |
void | Perform () |
Performs a prism from the wire to the plane along the basis shape S. Reconstructs the feature topologically. | |
Standard_Boolean | Propagate (TopTools_ListOfShape &L, const TopoDS_Face &F, const gp_Pnt &FPoint, const gp_Pnt &LPoint, Standard_Boolean &falseside) |
BRepFeat_MakeRevolutionForm::BRepFeat_MakeRevolutionForm | ( | const TopoDS_Shape & | Sbase, |
const TopoDS_Wire & | W, | ||
const Handle< Geom_Plane > & | Plane, | ||
const gp_Ax1 & | Axis, | ||
const Standard_Real | Height1, | ||
const Standard_Real | Height2, | ||
const Standard_Integer | Fuse, | ||
Standard_Boolean & | Sliding | ||
) |
void BRepFeat_MakeRevolutionForm::Add | ( | const TopoDS_Edge & | E, |
const TopoDS_Face & | OnFace | ||
) |
void BRepFeat_MakeRevolutionForm::Init | ( | const TopoDS_Shape & | Sbase, |
const TopoDS_Wire & | W, | ||
const Handle< Geom_Plane > & | Plane, | ||
const gp_Ax1 & | Axis, | ||
const Standard_Real | Height1, | ||
const Standard_Real | Height2, | ||
const Standard_Integer | Fuse, | ||
Standard_Boolean & | Sliding | ||
) |
Standard_Boolean BRepFeat_MakeRevolutionForm::Propagate | ( | TopTools_ListOfShape & | L, |
const TopoDS_Face & | F, | ||
const gp_Pnt & | FPoint, | ||
const gp_Pnt & | LPoint, | ||
Standard_Boolean & | falseside | ||
) |