C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

Control flags of Boolean operations. More...

#include <op_boolean_flags.h>

Public Member Functions

 MbBooleanFlags ()
 Default constructor.
 
 MbBooleanFlags (const MbBooleanFlags &flags)
 Copy-constructor.
 
 MbBooleanFlags (const MbBooleanFlags &flags, bool _closed)
 Copy-constructor.
 
void InitBoolean (bool _closed, bool _allowNonIntersecting=false)
 Boolean operation of shells.
 
void InitCutting (bool _closed, bool _allowNonIntersecting=false)
 The cutting (or truncation) of a shell.
 
bool MergeFaces () const
 Whether to merge similar faces (true)?
 
bool MergeEdges () const
 Whether to merge similar edges (true)?
 
bool DoClosed () const
 Closedness of resulting shell.
 
bool CheckEnclosure () const
 Check shell on nesting.
 
bool AllowNonIntersecting () const
 Allow a final result if there is no intersection.
 
bool IsCutting () const
 Flag of cutting the shell in the construction of cuts and sections.
 
bool ShellEdgesRepair () const
 Flag of input shells edges repair.
 
MbMergingFlags GetMerging () const
 Get flags of merging.
 
void CheckEnclosureState ()
 Check the flag's state.
 
void SetMerging (const MbMergingFlags &f)
 Whether to merge similar items.
 
void SetMergingFaces (bool s)
 Whether to merge similar faces.
 
void SetMergingEdges (bool s)
 Whether to merge similar edges.
 
void SetAllowNonIntersecting (bool s)
 Allow a final result if there is no intersection.
 
void SetEnclosureCheck (bool s)
 Check shell on nesting.
 
void SetShellEdgesRepair (bool s)
 Repair edges of input shells.
 
MbBooleanFlagsoperator= (const MbBooleanFlags &flags)
 Assignment operator.
 

Protected Member Functions

 MbBooleanFlags (bool _mergeFaces, bool _mergeEdges, bool _closed, bool _enclosureCheck, bool _allowNonIntersecting, bool _cutting)
 Constructor by Boolean flags.
 

Protected Attributes

bool mergeFaces
 Whether to merge similar faces (true).
 
bool mergeEdges
 Whether to merge similar edges (true).
 
bool closed
 Closedness of operands' shells.
 
bool enclosureCheck
 Check shell on nesting.
 
bool allowNonIntersecting
 Allow a final result if there is no intersection.
 
bool cutting
 Flag of cutting the shell in the construction of cuts and sections.
 
bool repairShellEdges
 Flag of input shells edges repair.
 

Detailed Description

Control flags of Boolean operations.

Control flags of Boolean operations


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