Open CASCADE Technology 7.8.2.dev
LocOpe_SplitShape Class Reference

Provides a tool to cut : More...

#include <LocOpe_SplitShape.hxx>

Public Member Functions

 LocOpe_SplitShape ()
 Empty constructor.
 
 LocOpe_SplitShape (const TopoDS_Shape &S)
 Creates the process with the shape .
 
void Init (const TopoDS_Shape &S)
 Initializes the process on the shape .
 
Standard_Boolean CanSplit (const TopoDS_Edge &E) const
 Tests if it is possible to split the edge <E>.
 
void 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 Add (const TopoDS_Wire &W, const TopoDS_Face &F)
 Adds the wire <W> on the face <F>.
 
Standard_Boolean Add (const TopTools_ListOfShape &Lwires, const TopoDS_Face &F)
 Adds the list of wires <Lwires> on the face <F>.
 
const TopoDS_ShapeShape () const
 Returns the "original" shape.
 
const TopTools_ListOfShapeDescendantShapes (const TopoDS_Shape &S)
 Returns the list of descendant shapes of .
 
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.
 

Detailed Description

Provides a tool to cut :

  • edges with a vertices,
  • faces with wires, and rebuilds the shape containing the edges and the faces.

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 .

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 .

◆ Init()

void LocOpe_SplitShape::Init ( const TopoDS_Shape & S)

Initializes the process on the shape .

◆ 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: