Open CASCADE Technology  7.1.0.beta
Public Member Functions

LocOpe_SplitShape Class Reference

Provides a tool to cut : More...

#include <LocOpe_SplitShape.hxx>

Public Member Functions

 LocOpe_SplitShape ()
 Empty constructor. More...
 
 LocOpe_SplitShape (const TopoDS_Shape &S)
 Creates the process with the shape <S>. More...
 
void Init (const TopoDS_Shape &S)
 Initializes the process on the shape <S>. More...
 
Standard_Boolean CanSplit (const TopoDS_Edge &E) const
 Tests if it is possible to split the edge <E>. More...
 
void Add (const TopoDS_Vertex &V, const Standard_Real P, const TopoDS_Edge &E)
 Adds the vertex <V> on the edge <E>, at parameter. More...
 
Standard_Boolean Add (const TopoDS_Wire &W, const TopoDS_Face &F)
 Adds the wire <W> on the face <F>. More...
 
Standard_Boolean Add (const TopTools_ListOfShape &Lwires, const TopoDS_Face &F)
 Adds the list of wires <Lwires> on the face <F>. More...
 
const TopoDS_ShapeShape () const
 Returns the "original" shape. More...
 
const TopTools_ListOfShapeDescendantShapes (const TopoDS_Shape &S)
 Returns the list of descendant shapes of <S>. More...
 
const TopTools_ListOfShapeLeftOf (const TopoDS_Wire &W, const TopoDS_Face &F)
 Returns the "left" part defined by the wire <W> on the face <F>. The returned list of shape is in fact a list of faces. The face <F> is considered with its topological orientation in the original shape. <W> is considered with its orientation. More...
 

Detailed Description

Provides a tool to cut :

Constructor & Destructor Documentation

LocOpe_SplitShape::LocOpe_SplitShape ( )

Empty constructor.

LocOpe_SplitShape::LocOpe_SplitShape ( const TopoDS_Shape S)

Creates the process with the shape <S>.

Member Function Documentation

void LocOpe_SplitShape::Add ( const TopoDS_Vertex V,
const Standard_Real  P,
const TopoDS_Edge E 
)

Adds the vertex <V> on the edge <E>, at parameter.

.

Standard_Boolean LocOpe_SplitShape::Add ( const TopoDS_Wire W,
const TopoDS_Face F 
)

Adds the wire <W> on the face <F>.

Standard_Boolean LocOpe_SplitShape::Add ( const TopTools_ListOfShape Lwires,
const TopoDS_Face F 
)

Adds the list of wires <Lwires> on the face <F>.

Standard_Boolean LocOpe_SplitShape::CanSplit ( const TopoDS_Edge E) const

Tests if it is possible to split the edge <E>.

const TopTools_ListOfShape& LocOpe_SplitShape::DescendantShapes ( const TopoDS_Shape S)

Returns the list of descendant shapes of <S>.

void LocOpe_SplitShape::Init ( const TopoDS_Shape S)

Initializes the process on the shape <S>.

const TopTools_ListOfShape& LocOpe_SplitShape::LeftOf ( const TopoDS_Wire W,
const TopoDS_Face F 
)

Returns the "left" part defined by the wire <W> on the face <F>. The returned list of shape is in fact a list of faces. The face <F> is considered with its topological orientation in the original shape. <W> is considered with its orientation.

const TopoDS_Shape& LocOpe_SplitShape::Shape ( ) const

Returns the "original" shape.


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