Open CASCADE Technology 7.8.0
|
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_Shape & | Shape () const |
Returns the "original" shape. | |
const TopTools_ListOfShape & | DescendantShapes (const TopoDS_Shape &S) |
Returns the list of descendant shapes of | |
const TopTools_ListOfShape & | 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. | |
Provides a tool to cut :
LocOpe_SplitShape::LocOpe_SplitShape | ( | ) |
Empty constructor.
LocOpe_SplitShape::LocOpe_SplitShape | ( | const TopoDS_Shape & | S | ) |
Creates the process with the shape .
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 .
void LocOpe_SplitShape::Init | ( | const TopoDS_Shape & | S | ) |
Initializes the process on the shape .
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.