Open CASCADE Technology  7.4.0
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() [1/2]

LocOpe_SplitShape::LocOpe_SplitShape ( )

Empty constructor.

◆ LocOpe_SplitShape() [2/2]

LocOpe_SplitShape::LocOpe_SplitShape ( const TopoDS_Shape S)

Creates the process with the shape <S>.

Member Function Documentation

◆ Add() [1/3]

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.

.

◆ Add() [2/3]

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

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

◆ Add() [3/3]

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

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

◆ CanSplit()

Standard_Boolean LocOpe_SplitShape::CanSplit ( const TopoDS_Edge E) const

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

◆ DescendantShapes()

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

Returns the list of descendant shapes of <S>.

◆ Init()

void LocOpe_SplitShape::Init ( const TopoDS_Shape S)

Initializes the process on the shape <S>.

◆ LeftOf()

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.

◆ Shape()

const TopoDS_Shape& LocOpe_SplitShape::Shape ( ) const

Returns the "original" shape.


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