DATAKIT API  V2025.1
Dtk_feat_boolean Class Reference

Public Member Functions

 Dtk_feat_boolean ()
 
int get_combined_body (Dtk_FeaturePtr &)
 Returns body feature operand consisting the combined body operand of the boolean operation
More...
 
int get_main_body (Dtk_FeaturePtr &)
 Returns body feature consisting the main body operand of the boolean operation
More...
 
int get_nb_combined_bodies (long *)
 Returns number of the bodies involved in the combined feature body of the boolean operation
More...
 
int get_type (DTK_BOOLEAN_TYPE *)
 Returns boolean operation type
More...
 
 ~Dtk_feat_boolean ()
 

Data Fields

Dtk_FeaturePtr combined_body
 
Dtk_featmain_body
 
long nb_combined_bodies
 
DTK_BOOLEAN_TYPE type
 

Constructor & Destructor Documentation

◆ Dtk_feat_boolean()

Dtk_feat_boolean::Dtk_feat_boolean ( )

◆ ~Dtk_feat_boolean()

Dtk_feat_boolean::~Dtk_feat_boolean ( )

Member Function Documentation

◆ get_combined_body()

int Dtk_feat_boolean::get_combined_body ( Dtk_FeaturePtr )

Returns body feature operand consisting the combined body operand of the boolean operation

Parameters
[in]BooleanOperation
[in/out]
[out]Dtk_feat*
Returns
NOTOK if error, ISOK if ok
Remarks

◆ get_main_body()

int Dtk_feat_boolean::get_main_body ( Dtk_FeaturePtr )

Returns body feature consisting the main body operand of the boolean operation

Parameters
[in]BooleanOperation
[in/out]
[out]Dtk_feat*
Returns
NOTOK if error, ISOK if ok
Remarks

◆ get_nb_combined_bodies()

int Dtk_feat_boolean::get_nb_combined_bodies ( long *  )

Returns number of the bodies involved in the combined feature body of the boolean operation

Parameters
[in]BooleanOperation
[in/out]
[out]long*
Returns
NOTOK if error, ISOK if ok
Remarks

◆ get_type()

int Dtk_feat_boolean::get_type ( DTK_BOOLEAN_TYPE )

Returns boolean operation type

Parameters
[in]BooleanOperation
[in/out]
[out]DTK_BOOLEAN_TYPE
Returns
NOTOK if error, ISOK if ok
Remarks

Field Documentation

◆ combined_body

Dtk_FeaturePtr Dtk_feat_boolean::combined_body

◆ main_body

Dtk_feat* Dtk_feat_boolean::main_body

◆ nb_combined_bodies

long Dtk_feat_boolean::nb_combined_bodies

◆ type

DTK_BOOLEAN_TYPE Dtk_feat_boolean::type