DATAKIT API  V2025.1
Dtk_feat_sweep Class Reference

Feature Sweep (Rib & Slot) More...

Public Member Functions

 Dtk_feat_sweep ()
 
int get_axis (Dtk_feat_axis **)
 Get axis of the feature Sweep. More...
 
int get_center_curve (Dtk_feat_geometry **)
 Get the center curve of the feature Sweep. More...
 
int get_control_object_axis (Dtk_feat_axis **)
 Get axis control object of feature Sweep. More...
 
int get_control_object_selection (Dtk_feat_geometry **)
 Get selection control object of feature Sweep. More...
 
int get_merge_ends (Bool *)
 Get the boolean value of merge sweep ends of the feature Sweep. More...
 
int get_nb_profiles (int *)
 Returns Sweep profiles number
More...
 
int get_profile_control_type (PROFILE_CONTROL_TYPE *)
 Get the profile control type of the feature Sweep. More...
 
int get_profiles (Dtk_feat_geometry ***)
 Get the profiles geometry of the feature Sweep. More...
 
int get_thickness (Dtk_feat_thickness **)
 Returns thickness of a sweep.
More...
 
int get_type (DTK_SWEEP_TYPE *)
 Returns Sweep type
More...
 
 ~Dtk_feat_sweep ()
 

Data Fields

Dtk_feat_axisaxis
 
Dtk_feat_geometry * center_curve
 
union {
   Dtk_feat_axis *   axis
 
   Dtk_feat_geometry *   selection
 
control_object
 
Bool merge_sweep_ends
 
int nb_profiles
 
PROFILE_CONTROL_TYPE profile_control_type
 
Dtk_feat_geometry ** profiles
 
DTK_SWEEP_TYPE sweep_type
 
Dtk_feat_thicknessthickness
 

Detailed Description

Feature Sweep (Rib & Slot)

Constructor & Destructor Documentation

◆ Dtk_feat_sweep()

Dtk_feat_sweep::Dtk_feat_sweep ( )

◆ ~Dtk_feat_sweep()

Dtk_feat_sweep::~Dtk_feat_sweep ( )

Member Function Documentation

◆ get_axis()

int Dtk_feat_sweep::get_axis ( Dtk_feat_axis **  )

Get axis of the feature Sweep.

Parameters
[in]Sweepfeature
[in/out]
[out]Dtk_feat_axis
Returns
Axis of Sweep Feature
Remarks

◆ get_center_curve()

int Dtk_feat_sweep::get_center_curve ( Dtk_feat_geometry **  )

Get the center curve of the feature Sweep.

Parameters
[in]Sweepfeature
[in/out]
[out]Dtk_feat_geometry
Returns
center curve geometry of Sweep Feature
Remarks

◆ get_control_object_axis()

int Dtk_feat_sweep::get_control_object_axis ( Dtk_feat_axis **  )

Get axis control object of feature Sweep.

Parameters
[in]Sweepfeature
[in/out]
[out]Dtk_feat_axis
Returns
axis control object of Sweep Feature
Remarks

◆ get_control_object_selection()

int Dtk_feat_sweep::get_control_object_selection ( Dtk_feat_geometry **  )

Get selection control object of feature Sweep.

Parameters
[in]Sweepfeature
[in/out]
[out]Dtk_feat_geometry
Returns
selection control object of Sweep Feature
Remarks

◆ get_merge_ends()

int Dtk_feat_sweep::get_merge_ends ( Bool )

Get the boolean value of merge sweep ends of the feature Sweep.

Parameters
[in]Sweepfeature
[in/out]
[out]Bool
Returns
boolean value of merge sweep ends of Sweep Feature
Remarks

◆ get_nb_profiles()

int Dtk_feat_sweep::get_nb_profiles ( int *  )

Returns Sweep profiles number

Parameters
[in]SweepFeature
[in/out]
[out]int
Returns
NOTOK if error, ISOK if ok
Remarks

◆ get_profile_control_type()

int Dtk_feat_sweep::get_profile_control_type ( PROFILE_CONTROL_TYPE )

Get the profile control type of the feature Sweep.

Parameters
[in]Sweepfeature
[in/out]
[out]PROFILE_CONTROL_TYPE
Returns
profile control type of Sweep Feature
Remarks

◆ get_profiles()

int Dtk_feat_sweep::get_profiles ( Dtk_feat_geometry ***  )

Get the profiles geometry of the feature Sweep.

Parameters
[in]Sweepfeature
[in/out]
[out]Dtk_feat_geometry
Returns
profiles geometry of Sweep Feature
Remarks

◆ get_thickness()

int Dtk_feat_sweep::get_thickness ( Dtk_feat_thickness **  )

Returns thickness of a sweep.

Parameters
[in]SweepFeature
[in/out]
[out]Dtk_feat_thickness(the internal and external thickness)
Returns
NOTOK if error, ISOK if ok
Remarks

◆ get_type()

int Dtk_feat_sweep::get_type ( DTK_SWEEP_TYPE )

Returns Sweep type

Parameters
[in]SweepFeature
[in/out]
[out]DTK_SWEEP_TYPE
Returns
NOTOK if error, ISOK if ok
Remarks

Field Documentation

◆ axis

Dtk_feat_axis* Dtk_feat_sweep::axis

◆ center_curve

Dtk_feat_geometry* Dtk_feat_sweep::center_curve

◆ control_object

union { ... } Dtk_feat_sweep::control_object

◆ merge_sweep_ends

Bool Dtk_feat_sweep::merge_sweep_ends

◆ nb_profiles

int Dtk_feat_sweep::nb_profiles

◆ profile_control_type

PROFILE_CONTROL_TYPE Dtk_feat_sweep::profile_control_type

◆ profiles

Dtk_feat_geometry** Dtk_feat_sweep::profiles

◆ selection

Dtk_feat_geometry* Dtk_feat_sweep::selection

◆ sweep_type

DTK_SWEEP_TYPE Dtk_feat_sweep::sweep_type

◆ thickness

Dtk_feat_thickness* Dtk_feat_sweep::thickness