DATAKIT API  V2025.4
Dtk_feat_SpotPoint Class Reference

Spot Point (the node in the tree structure storing joint element features) More...

Public Types

enum  Finish {
  Class_A, Class_B, Class_C, Class_D,
  Unspecified_Finish
}
 
enum  Material {
  Glue1, Glue2, Sealant_material1, Sealant_material2,
  Unspecified_Material
}
 
enum  ProcessCategory { Welding, Adhesive, Sealant }
 
enum  ProcessType {
  Resistance, TIG_14, TIG_141, Laser,
  _135, _78, PLW, Unspecified_Welding,
  Structural_Adhesive, Non_Structural_Adhesive, Unspecified_Adhesive, Robot_Sealed,
  Sealed_by_hand, Unspecified_Sealant
}
 
enum  Regulation { Norm_A, Norm_B, None, Unspecified_Regulation }
 
enum  Robustness {
  Ordinary, Critical, Safety, Manufacturing,
  Unspecified_Robustness
}
 

Public Member Functions

double diameter () const
 Return SpotPoint diameter. More...
 
 Dtk_feat_SpotPoint ()
 Default Constructor. More...
 
 Dtk_feat_SpotPoint (const Dtk_feat_SpotPoint &spot)
 Copy Constructor. More...
 
 Dtk_feat_SpotPoint (const Dtk_pnt &p_location, const Dtk_dir &p_normal, double p_diameter, ProcessCategory p_category, ProcessType p_type, Robustness p_robustness, Regulation p_regulation, Finish p_finish)
 Parameters Constructor. More...
 
 Dtk_feat_SpotPoint (const Dtk_pnt &p_location, const Dtk_dir &p_normal, double p_diameter, ProcessCategory p_category, ProcessType p_type, Robustness p_robustness, Regulation p_regulation, Finish p_finish, Material p_material)
 Parameters Constructor. More...
 
Finish finish () const
 Return SpotPoint finish. More...
 
bool isGeometryFlag () const
 Return SpotPoint geometry flag. More...
 
bool isInspectionFlag () const
 Return SpotPoint inspection flag. More...
 
Dtk_pnt location () const
 Return SpotPoint location. More...
 
Dtk_string manufacturingCode () const
 Return SpotPoint manufacturing code. More...
 
Material material () const
 Return SpotPoint material. More...
 
Dtk_dir normal () const
 Return SpotPoint normal. More...
 
Dtk_feat_SpotPointoperator= (const Dtk_feat_SpotPoint &spot)
 Assignment operator. More...
 
ProcessCategory processCategory () const
 Return SpotPoint category. More...
 
ProcessType processType () const
 Return SpotPoint type. More...
 
Regulation regulation () const
 Return SpotPoint regulation. More...
 
Robustness robustness () const
 Return SpotPoint regulation. More...
 
void setDiameter (double p_diam)
 Set SpotPoint diameter. More...
 
void setFinish (Dtk_string const &p_finish)
 Set SpotPoint finish. More...
 
void setFinish (Finish p_finish)
 Set SpotPoint finish. More...
 
void setGeometryFlag (bool p_flag)
 Set SpotPoint geometry flag. More...
 
void setInspectionFlag (bool p_flag)
 Set SpotPoint inspection flag. More...
 
void setLocation (const Dtk_pnt &p_location)
 Set SpotPoint location. More...
 
void setLocation (double x, double y, double z)
 Returns SpotPoint location. More...
 
void setManufacturingCode (const Dtk_string &p_code)
 Set SpotPoint manufacturing code. More...
 
void setMaterial (Dtk_string const &p_material)
 Set SpotPoint material. More...
 
void setMaterial (Material p_material)
 Set SpotPoint material. More...
 
void setNormal (const Dtk_dir &p_normal)
 Set SpotPoint normal. More...
 
void setNormal (double x, double y, double z)
 Set SpotPoint normal. More...
 
void setProcessCategory (Dtk_string const &p_category)
 Set SpotPoint category. More...
 
void setProcessCategory (ProcessCategory p_category)
 Set SpotPoint category. More...
 
void setProcessType (Dtk_string const &p_type)
 Set SpotPoint type. More...
 
void setProcessType (ProcessType p_type)
 Set SpotPoint type. More...
 
void setRegulation (Dtk_string const &p_regulation)
 Set SpotPoint regulation. More...
 
void setRegulation (Regulation p_regulation)
 Set SpotPoint regulation. More...
 
void setRobustness (Dtk_string const &p_robustness)
 Set SpotPoint robustness. More...
 
void setRobustness (Robustness p_robustness)
 Set SpotPoint robustness. More...
 
 ~Dtk_feat_SpotPoint ()
 Destructor. More...
 

Detailed Description

Spot Point (the node in the tree structure storing joint element features)

Member Enumeration Documentation

◆ Finish

Enumerator
Class_A 
Class_B 
Class_C 
Class_D 
Unspecified_Finish 
6678  {
6679  Class_A,
6680  Class_B,
6681  Class_C,
6682  Class_D,
6684  };

◆ Material

Enumerator
Glue1 
Glue2 
Sealant_material1 
Sealant_material2 
Unspecified_Material 
6652  {
6653  Glue1,
6654  Glue2,
6658  };

◆ ProcessCategory

Enumerator
Welding 
Adhesive 
Sealant 
6625  {
6626  Welding,
6627  Adhesive,
6628  Sealant
6629  };

◆ ProcessType

Enumerator
Resistance 
TIG_14 
TIG_141 
Laser 
_135 
_78 
PLW 
Unspecified_Welding 
Structural_Adhesive 
Non_Structural_Adhesive 
Unspecified_Adhesive 
Robot_Sealed 
Sealed_by_hand 
Unspecified_Sealant 
6632  {
6633  Resistance,
6634  TIG_14,
6635  TIG_141,
6636  Laser,
6637  _135,
6638  _78,
6639  PLW,
6641 
6645 
6646  Robot_Sealed,
6649  };

◆ Regulation

Enumerator
Norm_A 
Norm_B 
None 
Unspecified_Regulation 
6670  {
6671  Norm_A,
6672  Norm_B,
6673  None,
6675  };

◆ Robustness

Enumerator
Ordinary 
Critical 
Safety 
Manufacturing 
Unspecified_Robustness 
6661  {
6662  Ordinary,
6663  Critical,
6664  Safety,
6665  Manufacturing,
6667  };

Constructor & Destructor Documentation

◆ Dtk_feat_SpotPoint() [1/4]

Dtk_feat_SpotPoint::Dtk_feat_SpotPoint ( )

Default Constructor.

◆ Dtk_feat_SpotPoint() [2/4]

Dtk_feat_SpotPoint::Dtk_feat_SpotPoint ( const Dtk_feat_SpotPoint spot)

Copy Constructor.

◆ Dtk_feat_SpotPoint() [3/4]

Dtk_feat_SpotPoint::Dtk_feat_SpotPoint ( const Dtk_pnt p_location,
const Dtk_dir p_normal,
double  p_diameter,
ProcessCategory  p_category,
ProcessType  p_type,
Robustness  p_robustness,
Regulation  p_regulation,
Finish  p_finish 
)

Parameters Constructor.

Parameters
p_location: SpotPoint location
p_normal: SpotPoint normal
p_diameter: SpotPoint diameter
p_category: SpotPoint category
p_type: SpotPoint type
p_robustness: SpotPoint robustness
p_regulation: SpotPoint regulation
p_finish: SpotPoint finish
Remarks
in Debug throw an exception if type doesn't match category

◆ Dtk_feat_SpotPoint() [4/4]

Dtk_feat_SpotPoint::Dtk_feat_SpotPoint ( const Dtk_pnt p_location,
const Dtk_dir p_normal,
double  p_diameter,
ProcessCategory  p_category,
ProcessType  p_type,
Robustness  p_robustness,
Regulation  p_regulation,
Finish  p_finish,
Material  p_material 
)

Parameters Constructor.

Parameters
p_location: SpotPoint location
p_normal: SpotPoint normal
p_diameter: SpotPoint diameter
p_category: SpotPoint category
p_type: SpotPoint type
p_robustness: SpotPoint robustness
p_regulation: SpotPoint regulation
p_finish: SpotPoint finish
p_material: SpotPoint material
Remarks
in Debug throw an exception if type doesn't match category, idem for material

◆ ~Dtk_feat_SpotPoint()

Dtk_feat_SpotPoint::~Dtk_feat_SpotPoint ( )

Destructor.

Member Function Documentation

◆ diameter()

double Dtk_feat_SpotPoint::diameter ( ) const

Return SpotPoint diameter.

◆ finish()

Finish Dtk_feat_SpotPoint::finish ( ) const

Return SpotPoint finish.

◆ isGeometryFlag()

bool Dtk_feat_SpotPoint::isGeometryFlag ( ) const

Return SpotPoint geometry flag.

Remarks
only available with Welding

◆ isInspectionFlag()

bool Dtk_feat_SpotPoint::isInspectionFlag ( ) const

Return SpotPoint inspection flag.

◆ location()

Dtk_pnt Dtk_feat_SpotPoint::location ( ) const

Return SpotPoint location.

◆ manufacturingCode()

Dtk_string Dtk_feat_SpotPoint::manufacturingCode ( ) const

Return SpotPoint manufacturing code.

◆ material()

Material Dtk_feat_SpotPoint::material ( ) const

Return SpotPoint material.

◆ normal()

Dtk_dir Dtk_feat_SpotPoint::normal ( ) const

Return SpotPoint normal.

◆ operator=()

Dtk_feat_SpotPoint& Dtk_feat_SpotPoint::operator= ( const Dtk_feat_SpotPoint spot)

Assignment operator.

◆ processCategory()

ProcessCategory Dtk_feat_SpotPoint::processCategory ( ) const

Return SpotPoint category.

◆ processType()

ProcessType Dtk_feat_SpotPoint::processType ( ) const

Return SpotPoint type.

◆ regulation()

Regulation Dtk_feat_SpotPoint::regulation ( ) const

Return SpotPoint regulation.

◆ robustness()

Robustness Dtk_feat_SpotPoint::robustness ( ) const

Return SpotPoint regulation.

◆ setDiameter()

void Dtk_feat_SpotPoint::setDiameter ( double  p_diam)

Set SpotPoint diameter.

◆ setFinish() [1/2]

void Dtk_feat_SpotPoint::setFinish ( Dtk_string const &  p_finish)

Set SpotPoint finish.

◆ setFinish() [2/2]

void Dtk_feat_SpotPoint::setFinish ( Finish  p_finish)

Set SpotPoint finish.

◆ setGeometryFlag()

void Dtk_feat_SpotPoint::setGeometryFlag ( bool  p_flag)

Set SpotPoint geometry flag.

Remarks
only available with Welding

◆ setInspectionFlag()

void Dtk_feat_SpotPoint::setInspectionFlag ( bool  p_flag)

Set SpotPoint inspection flag.

◆ setLocation() [1/2]

void Dtk_feat_SpotPoint::setLocation ( const Dtk_pnt p_location)

Set SpotPoint location.

◆ setLocation() [2/2]

void Dtk_feat_SpotPoint::setLocation ( double  x,
double  y,
double  z 
)

Returns SpotPoint location.

◆ setManufacturingCode()

void Dtk_feat_SpotPoint::setManufacturingCode ( const Dtk_string p_code)

Set SpotPoint manufacturing code.

◆ setMaterial() [1/2]

void Dtk_feat_SpotPoint::setMaterial ( Dtk_string const &  p_material)

Set SpotPoint material.

Remarks
in Debug throw an exception if it's Welding category

◆ setMaterial() [2/2]

void Dtk_feat_SpotPoint::setMaterial ( Material  p_material)

Set SpotPoint material.

Remarks
in Debug throw an exception if it's Welding category

◆ setNormal() [1/2]

void Dtk_feat_SpotPoint::setNormal ( const Dtk_dir p_normal)

Set SpotPoint normal.

◆ setNormal() [2/2]

void Dtk_feat_SpotPoint::setNormal ( double  x,
double  y,
double  z 
)

Set SpotPoint normal.

◆ setProcessCategory() [1/2]

void Dtk_feat_SpotPoint::setProcessCategory ( Dtk_string const &  p_category)

Set SpotPoint category.

◆ setProcessCategory() [2/2]

void Dtk_feat_SpotPoint::setProcessCategory ( ProcessCategory  p_category)

Set SpotPoint category.

◆ setProcessType() [1/2]

void Dtk_feat_SpotPoint::setProcessType ( Dtk_string const &  p_type)

Set SpotPoint type.

Remarks
on Debug throw an exception if type doesn't match category

◆ setProcessType() [2/2]

void Dtk_feat_SpotPoint::setProcessType ( ProcessType  p_type)

Set SpotPoint type.

Remarks
on Debug throw an exception if type doesn't match category

◆ setRegulation() [1/2]

void Dtk_feat_SpotPoint::setRegulation ( Dtk_string const &  p_regulation)

Set SpotPoint regulation.

◆ setRegulation() [2/2]

void Dtk_feat_SpotPoint::setRegulation ( Regulation  p_regulation)

Set SpotPoint regulation.

◆ setRobustness() [1/2]

void Dtk_feat_SpotPoint::setRobustness ( Dtk_string const &  p_robustness)

Set SpotPoint robustness.

◆ setRobustness() [2/2]

void Dtk_feat_SpotPoint::setRobustness ( Robustness  p_robustness)

Set SpotPoint robustness.

Dtk_feat_SpotPoint::Unspecified_Sealant
@ Unspecified_Sealant
Definition: str_feat_dtk.hpp:6648
Dtk_feat_SpotPoint::Sealant_material2
@ Sealant_material2
Definition: str_feat_dtk.hpp:6656
Dtk_feat_SpotPoint::TIG_14
@ TIG_14
Definition: str_feat_dtk.hpp:6634
Dtk_feat_SpotPoint::Ordinary
@ Ordinary
Definition: str_feat_dtk.hpp:6662
Dtk_feat_SpotPoint::Sealant_material1
@ Sealant_material1
Definition: str_feat_dtk.hpp:6655
Dtk_feat_SpotPoint::Structural_Adhesive
@ Structural_Adhesive
Definition: str_feat_dtk.hpp:6642
Dtk_feat_SpotPoint::Glue2
@ Glue2
Definition: str_feat_dtk.hpp:6654
Dtk_feat_SpotPoint::Class_C
@ Class_C
Definition: str_feat_dtk.hpp:6681
Dtk_feat_SpotPoint::Sealed_by_hand
@ Sealed_by_hand
Definition: str_feat_dtk.hpp:6647
Dtk_feat_SpotPoint::None
@ None
Definition: str_feat_dtk.hpp:6673
Dtk_feat_SpotPoint::Unspecified_Adhesive
@ Unspecified_Adhesive
Definition: str_feat_dtk.hpp:6644
Dtk_feat_SpotPoint::Class_D
@ Class_D
Definition: str_feat_dtk.hpp:6682
Dtk_feat_SpotPoint::Adhesive
@ Adhesive
Definition: str_feat_dtk.hpp:6627
Dtk_feat_SpotPoint::Unspecified_Robustness
@ Unspecified_Robustness
Definition: str_feat_dtk.hpp:6666
Dtk_feat_SpotPoint::Resistance
@ Resistance
Definition: str_feat_dtk.hpp:6633
Dtk_feat_SpotPoint::Unspecified_Regulation
@ Unspecified_Regulation
Definition: str_feat_dtk.hpp:6674
Dtk_feat_SpotPoint::TIG_141
@ TIG_141
Definition: str_feat_dtk.hpp:6635
Dtk_feat_SpotPoint::Unspecified_Material
@ Unspecified_Material
Definition: str_feat_dtk.hpp:6657
Dtk_feat_SpotPoint::Robot_Sealed
@ Robot_Sealed
Definition: str_feat_dtk.hpp:6646
Dtk_feat_SpotPoint::PLW
@ PLW
Definition: str_feat_dtk.hpp:6639
Dtk_feat_SpotPoint::Critical
@ Critical
Definition: str_feat_dtk.hpp:6663
Dtk_feat_SpotPoint::Safety
@ Safety
Definition: str_feat_dtk.hpp:6664
Dtk_feat_SpotPoint::Norm_B
@ Norm_B
Definition: str_feat_dtk.hpp:6672
Dtk_feat_SpotPoint::Class_B
@ Class_B
Definition: str_feat_dtk.hpp:6680
Dtk_feat_SpotPoint::Glue1
@ Glue1
Definition: str_feat_dtk.hpp:6653
Dtk_feat_SpotPoint::Welding
@ Welding
Definition: str_feat_dtk.hpp:6626
Dtk_feat_SpotPoint::_78
@ _78
Definition: str_feat_dtk.hpp:6638
Dtk_feat_SpotPoint::_135
@ _135
Definition: str_feat_dtk.hpp:6637
Dtk_feat_SpotPoint::Class_A
@ Class_A
Definition: str_feat_dtk.hpp:6679
Dtk_feat_SpotPoint::Laser
@ Laser
Definition: str_feat_dtk.hpp:6636
Dtk_feat_SpotPoint::Manufacturing
@ Manufacturing
Definition: str_feat_dtk.hpp:6665
Dtk_feat_SpotPoint::Unspecified_Welding
@ Unspecified_Welding
Definition: str_feat_dtk.hpp:6640
Dtk_feat_SpotPoint::Non_Structural_Adhesive
@ Non_Structural_Adhesive
Definition: str_feat_dtk.hpp:6643
Dtk_feat_SpotPoint::Sealant
@ Sealant
Definition: str_feat_dtk.hpp:6628
Dtk_feat_SpotPoint::Norm_A
@ Norm_A
Definition: str_feat_dtk.hpp:6671
Dtk_feat_SpotPoint::Unspecified_Finish
@ Unspecified_Finish
Definition: str_feat_dtk.hpp:6683