SHAPER  9.12.0
GEOMAlgo_Splitter Class Reference
Inheritance diagram for GEOMAlgo_Splitter:
Inheritance graph

Public Member Functions

GEOMALGOIMPL_EXPORT GEOMAlgo_Splitter ()
 Constructor. More...
 
GEOMALGOIMPL_EXPORT GEOMAlgo_Splitter (const Handle &&theAllocator)
 Constructor. More...
 
GEOMALGOIMPL_EXPORT void AddTool (const TopoDS_Shape &theShape)
 Add a tool shape. More...
 
GEOMALGOIMPL_EXPORT const NCollection_List< TopoDS_Shape > & Tools () const
 Returns list of tool shapes. More...
 
GEOMALGOIMPL_EXPORT void SetLimit (const TopAbs_ShapeEnum aLimit)
 Set type of used shapes. More...
 
GEOMALGOIMPL_EXPORT TopAbs_ShapeEnum Limit () const
 Returns defined limit type. More...
 
GEOMALGOIMPL_EXPORT void SetLimitMode (const Standard_Integer aMode)
 Set mode (0 or 1) of limit. More...
 
GEOMALGOIMPL_EXPORT Standard_Integer LimitMode () const
 Returns mode of limit. More...
 
virtual GEOMALGOIMPL_EXPORT void Clear ()
 Clears all tool shapes. More...
 

Protected Member Functions

virtual GEOMALGOIMPL_EXPORT void BuildResult (const TopAbs_ShapeEnum theType)
 Build result. More...
 
virtual GEOMALGOIMPL_EXPORT void PostTreat ()
 Post processing of the calculation. More...
 

Protected Attributes

NCollection_List< TopoDS_Shape > myTools
 List of tools. More...
 
NCollection_Map< TopoDS_Shape > myMapTools
 Map of tools. More...
 
TopAbs_ShapeEnum myLimit
 A limit type. More...
 
Standard_Integer myLimitMode
 A limit mode. More...
 

Detailed Description

A class for shapes partitioning

Constructor & Destructor Documentation

◆ GEOMAlgo_Splitter() [1/2]

GEOMAlgo_Splitter::GEOMAlgo_Splitter ( )

Constructor.

◆ GEOMAlgo_Splitter() [2/2]

GEOMAlgo_Splitter::GEOMAlgo_Splitter ( const Handle &&  theAllocator)

Constructor.

Parameters
theAllocatoran allocator object

Member Function Documentation

◆ AddTool()

void GEOMAlgo_Splitter::AddTool ( const TopoDS_Shape &  theShape)

Add a tool shape.

Parameters
theShapea tool shape

◆ Tools()

const NCollection_List< TopoDS_Shape > & GEOMAlgo_Splitter::Tools ( ) const

Returns list of tool shapes.

◆ SetLimit()

void GEOMAlgo_Splitter::SetLimit ( const TopAbs_ShapeEnum  aLimit)

Set type of used shapes.

Parameters
aLimita shape type

◆ Limit()

TopAbs_ShapeEnum GEOMAlgo_Splitter::Limit ( ) const

Returns defined limit type.

◆ SetLimitMode()

void GEOMAlgo_Splitter::SetLimitMode ( const Standard_Integer  aMode)

Set mode (0 or 1) of limit.

Parameters
aModethe mode value

◆ LimitMode()

Standard_Integer GEOMAlgo_Splitter::LimitMode ( ) const

Returns mode of limit.

◆ Clear()

void GEOMAlgo_Splitter::Clear ( )
virtual

Clears all tool shapes.

◆ BuildResult()

void GEOMAlgo_Splitter::BuildResult ( const TopAbs_ShapeEnum  theType)
protectedvirtual

Build result.

Parameters
theTypea type of limit

◆ PostTreat()

void GEOMAlgo_Splitter::PostTreat ( )
protectedvirtual

Post processing of the calculation.

Field Documentation

◆ myTools

NCollection_List<TopoDS_Shape> GEOMAlgo_Splitter::myTools
protected

List of tools.

◆ myMapTools

NCollection_Map<TopoDS_Shape> GEOMAlgo_Splitter::myMapTools
protected

Map of tools.

◆ myLimit

TopAbs_ShapeEnum GEOMAlgo_Splitter::myLimit
protected

A limit type.

◆ myLimitMode

Standard_Integer GEOMAlgo_Splitter::myLimitMode
protected

A limit mode.