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

Builds a rib or a groove along a developable, planar surface.
The semantics of mechanical features is built around
giving thickness to a contour. This thickness can either
be symmetrical - on one side of the contour - or
dissymmetrical - 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_MakeLinearForm.hxx>

Inheritance diagram for BRepFeat_MakeLinearForm:
Inheritance graph
[legend]

Public Member Functions

DEFINE_STANDARD_ALLOC BRepFeat_MakeLinearForm ()
 initializes the linear form class

 BRepFeat_MakeLinearForm (const TopoDS_Shape &Sbase, const TopoDS_Wire &W, const Handle< Geom_Plane > &P, const gp_Vec &Direction, const gp_Vec &Direction1, const Standard_Integer Fuse, const Standard_Boolean Modify)
 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.
Direction and Direction1 give The vectors for
defining the direction(s) in which thickness will be built up.
Fuse offers a choice between:

void Init (const TopoDS_Shape &Sbase, const TopoDS_Wire &W, const Handle< Geom_Plane > &P, const gp_Vec &Direction, const gp_Vec &Direction1, const Standard_Integer Fuse, const Standard_Boolean Modify)
 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 vectors for
defining the direction(s) in which thickness will be built
up are given by Direction and Direction1.
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 Sbase. Reconstructs the feature topologically.

void TransformShapeFU (const Standard_Integer flag)
 Limits construction of the linear form feature by using
one of the following three semantics:

Standard_Boolean Propagate (TopTools_ListOfShape &L, const TopoDS_Face &F, const gp_Pnt &FPoint, const gp_Pnt &LPoint, Standard_Boolean &falseside)

Detailed Description


Constructor & Destructor Documentation

  • removing matter with a Boolean cut using the
    setting 0 in case of the groove
  • adding matter with Boolean fusion using the
    setting 1 in case of the rib.

Member Function Documentation

  • removing matter with a Boolean cut using the setting
    0 in case of the groove
  • adding matter with Boolean fusion using the setting 1
    in case of the rib.
  • from a limiting plane
  • to a limiting plane
  • from one limiting plane to another.
    The setting is provided by a flag, flag, which can be set
    to from and/or until. The third semantic possibility above
    is selected by showing both from and until at the same time.

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