Hole Feature : position, direction, type, diameter, anchorpoint of hole feature. More...
Public Member Functions | |
Dtk_feat_hole () | |
Constructor of Hole Feature More... | |
int | get_anchor_type (ANCHOR_TYPE *) |
Gets the hole anchor type if any. More... | |
int | get_annotation (Dtk_pnt *, char *) |
int | get_axis (Dtk_feat_axis **) |
Returns the hole axis. More... | |
int | get_bottom_angle (double *) |
Returns the hole bottom angle. More... | |
int | get_bottom_angle_has_tol (Bool *) |
Tests whether there is a tolerance set on bottom angle. More... | |
int | get_bottom_angle_with_tol (double *, double *, double *) |
Gets the hole bottom angle with its tolerance value (inf value & sup value) More... | |
int | get_bottom_type (HOLE_BOTTOM_TYPE *) |
Gets the hole bottom type if any. More... | |
int | get_counter_angle (double *) |
Returns the hole counter angle. More... | |
int | get_counter_angle_has_tol (Bool *) |
Tests whether there is a tolerance set on counter angle. More... | |
int | get_counter_angle_with_tol (double *, double *, double *) |
Gets the hole counter angle with its tolerance value (inf value & sup value) More... | |
int | get_counter_depth (double *) |
Returns the hole counter depth. More... | |
int | get_counter_depth_has_tol (Bool *) |
Tests whether there is a tolerance set on counter depth. More... | |
int | get_counter_depth_with_tol (double *, double *, double *) |
Gets the hole counter depth with its tolerance value (inf value & sup value) More... | |
int | get_counter_diameter (double *) |
Returns the hole counter diameter. More... | |
int | get_counter_diameter_has_tol (Bool *) |
Tests whether there is a tolerance set on counter diameter. More... | |
int | get_counter_diameter_with_tol (double *, double *, double *) |
Gets the hole counter diameter with its tolerance value (inf value & sup value) More... | |
int | get_depth (double *) |
Returns the hole depth. More... | |
int | get_depth_has_tol (Bool *) |
Tests whether there is a tolerance set on depth. More... | |
int | get_depth_with_tol (double *, double *, double *) |
Gets the hole depth with its tolerance value (inf value & sup value) More... | |
int | get_diameter (double *) |
Returns the hole diameter. More... | |
int | get_diameter_has_tol (Bool *) |
Tests whether there is a tolerance set on diameter. More... | |
int | get_diameter_with_tol (double *, double *, double *) |
Gets the hole diameter with its tolerance value (inf value & sup value) More... | |
int | get_inner_thread (Dtk_feat_inner_thread **) |
Returns the inner thread if any. More... | |
int | get_limit (Dtk_feat_limit **) |
Returns the hole limit. More... | |
int | get_sunk_diameter (double *) |
Returns the hole counter diameter. More... | |
int | get_threaded (Bool *) |
Tests whether the hole is threaded or not. More... | |
int | get_type (HOLE_TYPE *) |
Gets the hole type More... | |
Dtk_string | GetAnchorTypeAsString () const |
Dtk_feat_axis * | GetAxis () const |
Dtk_Double64 | GetBottomAngle () const |
Dtk_feat_tolerance_set * | GetBottomAngleTolerance () const |
Dtk_Double64 | GetCounterAngle () const |
Dtk_feat_tolerance_set * | GetCounterAngleTolerance () const |
Dtk_Double64 | GetCounterDepth () const |
Dtk_feat_tolerance_set * | GetCounterDepthTolerance () const |
Dtk_Double64 | GetCounterDiameter () const |
Dtk_feat_tolerance_set * | GetCounterDiameterTolerance () const |
Dtk_Double64 | GetDepth () const |
Dtk_feat_tolerance_set * | GetDepthTolerance () const |
Dtk_Double64 | GetDiameter () const |
Dtk_feat_tolerance_set * | GetDiameterTolerance () const |
Dtk_Double64 | GetEndAngle () const |
return the angle of the end chamfer More... | |
Dtk_Double64 | GetEndDiameter () const |
return the diameter of the end chamfer More... | |
Dtk_feat_inner_thread * | GetInnerThread () const |
Dtk_feat_limit * | GetLimit () const |
Dtk_Double64 | GetNeckAngle () const |
return the angle of the neck More... | |
Dtk_Double64 | GetNeckDepth () const |
return the depth of the neck More... | |
Dtk_Double64 | GetNeckDiameter () const |
return the diameter of the neck More... | |
Dtk_Double64 | GetReliefAngle () const |
return the angle of the relief More... | |
Dtk_Double64 | GetReliefDepth () const |
return the depth of the relief More... | |
Dtk_Double64 | GetReliefDiameter () const |
return the diameter of the relief More... | |
Dtk_feat_geometry * | GetSketch () const |
Dtk_Double64 | GetStartAngle () const |
return the angle of the start chamfer More... | |
Dtk_Double64 | GetStartDiameter () const |
return the diameter of the start chamfer More... | |
Dtk_Double64 | GetSunkDiameter () const |
Dtk_feat_geometry * | GetSupport () const |
Dtk_string | GetThreadBottomTypeAsString () const |
HOLE_TYPE | GetType () const |
Dtk_string | GetTypeAsString () const |
Dtk_bool | HasBottomAngleTolerance () const |
Dtk_bool | HasCounterAngleTolerance () const |
Dtk_bool | HasCounterDepthTolerance () const |
Dtk_bool | HasCounterDiameterTolerance () const |
Dtk_bool | HasDepthTolerance () const |
Dtk_bool | HasDiameterTolerance () const |
Dtk_Int32 | IsEndActived () const |
test if end chamfer is activated More... | |
Dtk_Int32 | IsNeckActived () const |
test if neck is activated , only neck or relief can be activated not both More... | |
Dtk_Int32 | IsReliefActived () const |
test if relief is activated , only relief or neck can be activated not both More... | |
Dtk_Int32 | IsStartActived () const |
test if start chamfer is activated More... | |
Dtk_bool | IsThreaded () const |
~Dtk_feat_hole () | |
Destructor of a hole feature More... | |
Data Fields | |
Dtk_pnt | anchor |
ANCHOR_TYPE | anchor_type |
Dtk_feat_axis * | axis |
Dtk_counter_params | counter_params |
char * | dimension_tolerance |
Dtk_feat_geometry * | direction |
Dtk_Int32 | end_active |
Dtk_hole_params | end_params |
Dtk_feat_sketch * | feat_sketch |
HOLE_BOTTOM_TYPE | hole_bottom_type |
Dtk_feat_limit * | hole_limit |
Dtk_hole_params | hole_params |
Bool | hole_threaded |
HOLE_TYPE | hole_type |
Dtk_feat_geometry * | limit |
Dtk_Int32 | neck_active |
Dtk_hole_params | neck_params |
Dtk_Int32 | relief_active |
Dtk_hole_params | relief_params |
Dtk_feat_geometry * | sketch |
Dtk_Int32 | start_active |
Dtk_hole_params | start_params |
Dtk_Double64 | Sunk_diameter |
Dtk_feat_geometry * | support |
Dtk_feat_inner_thread * | thread |
Dtk_feat_tolerance_set * | tol_counter [3] |
Dtk_feat_tolerance_set * | tol_hole [3] |
Hole Feature : position, direction, type, diameter, anchorpoint of hole feature.
Dtk_feat_hole::Dtk_feat_hole | ( | ) |
Constructor of Hole Feature
[in/out] | ||
[out] | Allocated | hole feature |
Dtk_feat_hole::~Dtk_feat_hole | ( | ) |
Destructor of a hole feature
[in] | Hole | feature to destruct |
[in/out] | ||
[out] | Free | Hole Feature |
int Dtk_feat_hole::get_anchor_type | ( | ANCHOR_TYPE * | ) |
Gets the hole anchor type if any.
[in] | Hole | feature |
[in/out] | ||
[out] | Hole | Anchor Type |
int Dtk_feat_hole::get_annotation | ( | Dtk_pnt * | , |
char * | |||
) |
int Dtk_feat_hole::get_axis | ( | Dtk_feat_axis ** | ) |
Returns the hole axis.
[in] | Hole | feature |
[in/out] | ||
[out] | Axis |
int Dtk_feat_hole::get_bottom_angle | ( | double * | ) |
Returns the hole bottom angle.
[in] | Hole | feature |
[in/out] | ||
[out] | Hole | bottom angle |
int Dtk_feat_hole::get_bottom_angle_has_tol | ( | Bool * | ) |
Tests whether there is a tolerance set on bottom angle.
[in] | Hole | feature |
[in/out] | ||
[out] | Bool |
int Dtk_feat_hole::get_bottom_angle_with_tol | ( | double * | , |
double * | , | ||
double * | |||
) |
Gets the hole bottom angle with its tolerance value (inf value & sup value)
[in] | Hole | feature |
[in/out] | ||
[out] | Bottom | Angle, Inf Value, Sup Value |
int Dtk_feat_hole::get_bottom_type | ( | HOLE_BOTTOM_TYPE * | ) |
Gets the hole bottom type if any.
[in] | Hole | feature |
[in/out] | ||
[out] | Hole | Bottom Type : |
int Dtk_feat_hole::get_counter_angle | ( | double * | ) |
Returns the hole counter angle.
[in] | Hole | feature |
[in/out] | ||
[out] | Hole | counter angle |
int Dtk_feat_hole::get_counter_angle_has_tol | ( | Bool * | ) |
Tests whether there is a tolerance set on counter angle.
[in] | Hole | feature |
[in/out] | ||
[out] | Bool |
int Dtk_feat_hole::get_counter_angle_with_tol | ( | double * | , |
double * | , | ||
double * | |||
) |
Gets the hole counter angle with its tolerance value (inf value & sup value)
[in] | Hole | feature |
[in/out] | ||
[out] | Counter | Depth, Inf Value, Sup Value |
int Dtk_feat_hole::get_counter_depth | ( | double * | ) |
Returns the hole counter depth.
[in] | Hole | feature |
[in/out] | ||
[out] | Hole | counter depth |
int Dtk_feat_hole::get_counter_depth_has_tol | ( | Bool * | ) |
Tests whether there is a tolerance set on counter depth.
[in] | Hole | feature |
[in/out] | ||
[out] | Bool |
int Dtk_feat_hole::get_counter_depth_with_tol | ( | double * | , |
double * | , | ||
double * | |||
) |
Gets the hole counter depth with its tolerance value (inf value & sup value)
[in] | Hole | feature |
[in/out] | ||
[out] | Counter | Depth, Inf Value, Sup Value |
int Dtk_feat_hole::get_counter_diameter | ( | double * | ) |
Returns the hole counter diameter.
[in] | Hole | feature |
[in/out] | ||
[out] | Hole | counter diameter |
int Dtk_feat_hole::get_counter_diameter_has_tol | ( | Bool * | ) |
Tests whether there is a tolerance set on counter diameter.
[in] | Hole | feature |
[in/out] | ||
[out] | Bool |
int Dtk_feat_hole::get_counter_diameter_with_tol | ( | double * | , |
double * | , | ||
double * | |||
) |
Gets the hole counter diameter with its tolerance value (inf value & sup value)
[in] | Hole | feature |
[in/out] | ||
[out] | Counter | Diameter, Inf Value, Sup Value |
int Dtk_feat_hole::get_depth | ( | double * | ) |
Returns the hole depth.
[in] | Hole | feature |
[in/out] | ||
[out] | Hole | depth |
int Dtk_feat_hole::get_depth_has_tol | ( | Bool * | ) |
Tests whether there is a tolerance set on depth.
[in] | Hole | feature |
[in/out] | ||
[out] | Bool |
int Dtk_feat_hole::get_depth_with_tol | ( | double * | , |
double * | , | ||
double * | |||
) |
Gets the hole depth with its tolerance value (inf value & sup value)
[in] | Hole | feature |
[in/out] | ||
[out] | Depth,Inf | Value, Sup Value |
int Dtk_feat_hole::get_diameter | ( | double * | ) |
Returns the hole diameter.
[in] | Hole | feature |
[in/out] | ||
[out] | Hole | diameter |
int Dtk_feat_hole::get_diameter_has_tol | ( | Bool * | ) |
Tests whether there is a tolerance set on diameter.
[in] | Hole | feature |
[in/out] | ||
[out] | Bool |
int Dtk_feat_hole::get_diameter_with_tol | ( | double * | , |
double * | , | ||
double * | |||
) |
Gets the hole diameter with its tolerance value (inf value & sup value)
[in] | Hole | feature |
[in/out] | ||
[out] | Diameter,Inf | Value, Sup Value |
int Dtk_feat_hole::get_inner_thread | ( | Dtk_feat_inner_thread ** | ) |
Returns the inner thread if any.
[in] | Hole | feature |
[in/out] | ||
[out] | Inner | Thread |
int Dtk_feat_hole::get_limit | ( | Dtk_feat_limit ** | ) |
Returns the hole limit.
[in] | Hole | feature |
[in/out] | ||
[out] | Hole | limit |
int Dtk_feat_hole::get_sunk_diameter | ( | double * | ) |
Returns the hole counter diameter.
[in] | Hole | feature |
[in/out] | ||
[out] | Hole | sunk diameter (when type is COUNTER_DRILLED_2) |
int Dtk_feat_hole::get_threaded | ( | Bool * | ) |
Tests whether the hole is threaded or not.
[in] | Hole | feature |
[in/out] | ||
[out] | Bool |
int Dtk_feat_hole::get_type | ( | HOLE_TYPE * | ) |
Gets the hole type
[in] | Hole | feature |
[in/out] | ||
[out] | Hole | Type |
Dtk_string Dtk_feat_hole::GetAnchorTypeAsString | ( | ) | const |
Dtk_feat_axis* Dtk_feat_hole::GetAxis | ( | ) | const |
Dtk_Double64 Dtk_feat_hole::GetBottomAngle | ( | ) | const |
Dtk_feat_tolerance_set* Dtk_feat_hole::GetBottomAngleTolerance | ( | ) | const |
Dtk_Double64 Dtk_feat_hole::GetCounterAngle | ( | ) | const |
Dtk_feat_tolerance_set* Dtk_feat_hole::GetCounterAngleTolerance | ( | ) | const |
Dtk_Double64 Dtk_feat_hole::GetCounterDepth | ( | ) | const |
Dtk_feat_tolerance_set* Dtk_feat_hole::GetCounterDepthTolerance | ( | ) | const |
Dtk_Double64 Dtk_feat_hole::GetCounterDiameter | ( | ) | const |
Dtk_feat_tolerance_set* Dtk_feat_hole::GetCounterDiameterTolerance | ( | ) | const |
Dtk_Double64 Dtk_feat_hole::GetDepth | ( | ) | const |
Dtk_feat_tolerance_set* Dtk_feat_hole::GetDepthTolerance | ( | ) | const |
Dtk_Double64 Dtk_feat_hole::GetDiameter | ( | ) | const |
Dtk_feat_tolerance_set* Dtk_feat_hole::GetDiameterTolerance | ( | ) | const |
Dtk_Double64 Dtk_feat_hole::GetEndAngle | ( | ) | const |
return the angle of the end chamfer
Dtk_Double64 Dtk_feat_hole::GetEndDiameter | ( | ) | const |
return the diameter of the end chamfer
Dtk_feat_inner_thread* Dtk_feat_hole::GetInnerThread | ( | ) | const |
Dtk_feat_limit* Dtk_feat_hole::GetLimit | ( | ) | const |
Dtk_Double64 Dtk_feat_hole::GetNeckAngle | ( | ) | const |
Dtk_Double64 Dtk_feat_hole::GetNeckDepth | ( | ) | const |
Dtk_Double64 Dtk_feat_hole::GetNeckDiameter | ( | ) | const |
return the diameter of the neck
Dtk_Double64 Dtk_feat_hole::GetReliefAngle | ( | ) | const |
return the angle of the relief
Dtk_Double64 Dtk_feat_hole::GetReliefDepth | ( | ) | const |
return the depth of the relief
Dtk_Double64 Dtk_feat_hole::GetReliefDiameter | ( | ) | const |
return the diameter of the relief
Dtk_feat_geometry* Dtk_feat_hole::GetSketch | ( | ) | const |
Dtk_Double64 Dtk_feat_hole::GetStartAngle | ( | ) | const |
return the angle of the start chamfer
Dtk_Double64 Dtk_feat_hole::GetStartDiameter | ( | ) | const |
return the diameter of the start chamfer
Dtk_Double64 Dtk_feat_hole::GetSunkDiameter | ( | ) | const |
Dtk_feat_geometry* Dtk_feat_hole::GetSupport | ( | ) | const |
Dtk_string Dtk_feat_hole::GetThreadBottomTypeAsString | ( | ) | const |
Dtk_string Dtk_feat_hole::GetTypeAsString | ( | ) | const |
Dtk_bool Dtk_feat_hole::HasBottomAngleTolerance | ( | ) | const |
Dtk_bool Dtk_feat_hole::HasCounterAngleTolerance | ( | ) | const |
Dtk_bool Dtk_feat_hole::HasCounterDepthTolerance | ( | ) | const |
Dtk_bool Dtk_feat_hole::HasCounterDiameterTolerance | ( | ) | const |
Dtk_bool Dtk_feat_hole::HasDiameterTolerance | ( | ) | const |
Dtk_Int32 Dtk_feat_hole::IsEndActived | ( | ) | const |
test if end chamfer is activated
Dtk_Int32 Dtk_feat_hole::IsNeckActived | ( | ) | const |
test if neck is activated , only neck or relief can be activated not both
Dtk_Int32 Dtk_feat_hole::IsReliefActived | ( | ) | const |
test if relief is activated , only relief or neck can be activated not both
Dtk_Int32 Dtk_feat_hole::IsStartActived | ( | ) | const |
test if start chamfer is activated
Dtk_bool Dtk_feat_hole::IsThreaded | ( | ) | const |
Dtk_pnt Dtk_feat_hole::anchor |
ANCHOR_TYPE Dtk_feat_hole::anchor_type |
Dtk_feat_axis* Dtk_feat_hole::axis |
Dtk_counter_params Dtk_feat_hole::counter_params |
char* Dtk_feat_hole::dimension_tolerance |
Dtk_feat_geometry* Dtk_feat_hole::direction |
Dtk_Int32 Dtk_feat_hole::end_active |
Dtk_hole_params Dtk_feat_hole::end_params |
Dtk_feat_sketch* Dtk_feat_hole::feat_sketch |
HOLE_BOTTOM_TYPE Dtk_feat_hole::hole_bottom_type |
Dtk_feat_limit* Dtk_feat_hole::hole_limit |
Dtk_hole_params Dtk_feat_hole::hole_params |
Bool Dtk_feat_hole::hole_threaded |
HOLE_TYPE Dtk_feat_hole::hole_type |
Dtk_feat_geometry* Dtk_feat_hole::limit |
Dtk_Int32 Dtk_feat_hole::neck_active |
Dtk_hole_params Dtk_feat_hole::neck_params |
Dtk_Int32 Dtk_feat_hole::relief_active |
Dtk_hole_params Dtk_feat_hole::relief_params |
Dtk_feat_geometry* Dtk_feat_hole::sketch |
Dtk_Int32 Dtk_feat_hole::start_active |
Dtk_hole_params Dtk_feat_hole::start_params |
Dtk_Double64 Dtk_feat_hole::Sunk_diameter |
Dtk_feat_geometry* Dtk_feat_hole::support |
Dtk_feat_inner_thread* Dtk_feat_hole::thread |
Dtk_feat_tolerance_set* Dtk_feat_hole::tol_counter[3] |
Dtk_feat_tolerance_set* Dtk_feat_hole::tol_hole[3] |