Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
BRepTools_Modifier Class Reference

Performs geometric modifications on a shape. More...

#include <BRepTools_Modifier.hxx>

Public Member Functions

 BRepTools_Modifier (bool theMutableInput=false)
 Creates an empty Modifier.
 
 BRepTools_Modifier (const TopoDS_Shape &S)
 Creates a modifier on the shape .
 
 BRepTools_Modifier (const TopoDS_Shape &S, const occ::handle< BRepTools_Modification > &M)
 Creates a modifier on the shape , and performs the modifications described by <M>.
 
void Init (const TopoDS_Shape &S)
 Initializes the modifier with the shape .
 
void Perform (const occ::handle< BRepTools_Modification > &M, const Message_ProgressRange &theProgress=Message_ProgressRange())
 Performs the modifications described by <M>.
 
bool IsDone () const
 Returns true if the modification has been computed successfully.
 
bool IsMutableInput () const
 Returns the current mutable input state.
 
void SetMutableInput (bool theMutableInput)
 Sets the mutable input state If true then the input (original) shape can be modified during modification process.
 
const TopoDS_ShapeModifiedShape (const TopoDS_Shape &S) const
 Returns the modified shape corresponding to .
 

Detailed Description

Performs geometric modifications on a shape.

Constructor & Destructor Documentation

◆ BRepTools_Modifier() [1/3]

BRepTools_Modifier::BRepTools_Modifier ( bool theMutableInput = false)

Creates an empty Modifier.

◆ BRepTools_Modifier() [2/3]

BRepTools_Modifier::BRepTools_Modifier ( const TopoDS_Shape & S)

Creates a modifier on the shape .

◆ BRepTools_Modifier() [3/3]

BRepTools_Modifier::BRepTools_Modifier ( const TopoDS_Shape & S,
const occ::handle< BRepTools_Modification > & M )

Creates a modifier on the shape , and performs the modifications described by <M>.

Member Function Documentation

◆ Init()

void BRepTools_Modifier::Init ( const TopoDS_Shape & S)

Initializes the modifier with the shape .

◆ IsDone()

bool BRepTools_Modifier::IsDone ( ) const

Returns true if the modification has been computed successfully.

◆ IsMutableInput()

bool BRepTools_Modifier::IsMutableInput ( ) const

Returns the current mutable input state.

◆ ModifiedShape()

const TopoDS_Shape & BRepTools_Modifier::ModifiedShape ( const TopoDS_Shape & S) const

Returns the modified shape corresponding to .

◆ Perform()

void BRepTools_Modifier::Perform ( const occ::handle< BRepTools_Modification > & M,
const Message_ProgressRange & theProgress = Message_ProgressRange() )

Performs the modifications described by <M>.

◆ SetMutableInput()

void BRepTools_Modifier::SetMutableInput ( bool theMutableInput)

Sets the mutable input state If true then the input (original) shape can be modified during modification process.


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