Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions
LocOpe_SplitDrafts Class Reference

This class provides a tool to realize the
following operations on a shape :
More...

#include <LocOpe_SplitDrafts.hxx>

Public Member Functions

 LocOpe_SplitDrafts ()
 Empty constructor.
More...
 
 LocOpe_SplitDrafts (const TopoDS_Shape &S)
 Creates the algoritm on the shape <S>.
More...
 
void Init (const TopoDS_Shape &S)
 Initializes the algoritm with the shape <S>.
More...
 
void Perform (const TopoDS_Face &F, const TopoDS_Wire &W, const gp_Dir &Extractg, const gp_Pln &NPlg, const Standard_Real Angleg, const gp_Dir &Extractd, const gp_Pln &NPld, const Standard_Real Angled, const Standard_Boolean ModifyLeft=Standard_True, const Standard_Boolean ModifyRight=Standard_True)
 
 Splits the face <F> of the former given shape with <br>
     the wire  <W>.  The wire is  assumed to lie on the <br>
     face.    Puts a draft  angle on  both parts of the <br>
     wire.    <Extractg>,  <Nplg>, <Angleg> define  the <br>
     arguments  for   the   left  part   of the   wire. <br>
     <Extractd>,  <Npld>, <Angled> define the arguments <br>
     for the right part of the wire. The draft angle is <br>
     measured    with the  direction  <Extract>.  <Npl> <br>
     defines the neutral plane (points belonging to the <br>
     neutral plane are not  modified).  <Angle> is  the <br>
     value of the draft  angle.  If <ModifyLeft> is set <br>
     to <Standard_False>, no draft  angle is applied to <br>
     the left part of the wire. If <ModifyRight> is set <br>
     to <Standard_False>,no draft  angle  is applied to <br>
     the right part of the wire. <br>



More...

 
void Perform (const TopoDS_Face &F, const TopoDS_Wire &W, const gp_Dir &Extract, const gp_Pln &NPl, const Standard_Real Angle)
 Splits the face <F> of the former given shape with
the wire <W>. The wire is assumed to lie on the
face. Puts a draft angle on the left part of the
wire. The draft angle is measured with the
direction <Extract>. <Npl> defines the neutral
plane (points belonging to the neutral plane are
not modified). <Angle> is the value of the draft
angle.
More...
 
Standard_Boolean IsDone () const
 Returns <Standard_True> if the modification has
been succesfully performed.
More...
 
const TopoDS_ShapeOriginalShape () const
 
const TopoDS_ShapeShape () const
 Returns the modified shape.
More...
 
const TopTools_ListOfShapeShapesFromShape (const TopoDS_Shape &S) const
 Manages the descendant shapes.
More...
 

Detailed Description

This class provides a tool to realize the
following operations on a shape :

Constructor & Destructor Documentation

LocOpe_SplitDrafts::LocOpe_SplitDrafts ( )

Empty constructor.

LocOpe_SplitDrafts::LocOpe_SplitDrafts ( const TopoDS_Shape S)

Creates the algoritm on the shape <S>.

Member Function Documentation

void LocOpe_SplitDrafts::Init ( const TopoDS_Shape S)

Initializes the algoritm with the shape <S>.

Standard_Boolean LocOpe_SplitDrafts::IsDone ( ) const

Returns <Standard_True> if the modification has
been succesfully performed.

const TopoDS_Shape& LocOpe_SplitDrafts::OriginalShape ( ) const
void LocOpe_SplitDrafts::Perform ( const TopoDS_Face F,
const TopoDS_Wire W,
const gp_Dir Extractg,
const gp_Pln NPlg,
const Standard_Real  Angleg,
const gp_Dir Extractd,
const gp_Pln NPld,
const Standard_Real  Angled,
const Standard_Boolean  ModifyLeft = Standard_True,
const Standard_Boolean  ModifyRight = Standard_True 
)

 Splits the face <F> of the former given shape with <br>
     the wire  <W>.  The wire is  assumed to lie on the <br>
     face.    Puts a draft  angle on  both parts of the <br>
     wire.    <Extractg>,  <Nplg>, <Angleg> define  the <br>
     arguments  for   the   left  part   of the   wire. <br>
     <Extractd>,  <Npld>, <Angled> define the arguments <br>
     for the right part of the wire. The draft angle is <br>
     measured    with the  direction  <Extract>.  <Npl> <br>
     defines the neutral plane (points belonging to the <br>
     neutral plane are not  modified).  <Angle> is  the <br>
     value of the draft  angle.  If <ModifyLeft> is set <br>
     to <Standard_False>, no draft  angle is applied to <br>
     the left part of the wire. If <ModifyRight> is set <br>
     to <Standard_False>,no draft  angle  is applied to <br>
     the right part of the wire. <br>



void LocOpe_SplitDrafts::Perform ( const TopoDS_Face F,
const TopoDS_Wire W,
const gp_Dir Extract,
const gp_Pln NPl,
const Standard_Real  Angle 
)

Splits the face <F> of the former given shape with
the wire <W>. The wire is assumed to lie on the
face. Puts a draft angle on the left part of the
wire. The draft angle is measured with the
direction <Extract>. <Npl> defines the neutral
plane (points belonging to the neutral plane are
not modified). <Angle> is the value of the draft
angle.

const TopoDS_Shape& LocOpe_SplitDrafts::Shape ( ) const

Returns the modified shape.

const TopTools_ListOfShape& LocOpe_SplitDrafts::ShapesFromShape ( const TopoDS_Shape S) const

Manages the descendant shapes.


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